Skip to content

Commit fb7155e

Browse files
committed
1 parent 724c363 commit fb7155e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ function configure_postfix($options = '') {
248248
flags=R user=vmail argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}
249249
250250
*/
251-
if(stristr($options,'dont-create-certs')) {
251+
if(!stristr($options,'dont-create-certs')) {
252252
// Create the SSL certificate
253253
$command = "cd ".$conf["dist_postfix_config_dir"]."; openssl req -new -outform PEM -out smtpd.cert -newkey rsa:2048 -nodes -keyout smtpd.key -keyform PEM -days 365 -x509";
254254
exec($command);

install/update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
// Database update is a bit brute force and should be rebuild later ;)
7272

7373
// export the current database data
74-
system("mysqldump -h $conf[mysql_server_host] -u $conf[mysql_server_ispconfig_user] -p$conf[mysql_server_ispconfig_password] -c -t --add-drop-table --add-locks --all --quick --lock-tables $conf[mysql_server_database] > existing_db.sql");
74+
system("mysqldump -h $conf[mysql_server_host] -u $conf[mysql_server_ispconfig_user] -p$conf[mysql_server_ispconfig_password] -c -t --add-drop-table --all --quick $conf[mysql_server_database] > existing_db.sql");
7575

7676
// Delete the old database
7777
exec("/etc/init.d/mysql stop");

0 commit comments

Comments
 (0)