File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff line change 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
7777exec ("/etc/init.d/mysql stop " );
You can’t perform that action at this time.
0 commit comments