Commit 1cd8621b authored by Hj Ahmad Rasyid Hj Ismail's avatar Hj Ahmad Rasyid Hj Ismail
Browse files

Update installer_base.lib.php

parent 3b05bb16
Pipeline #7280 passed with stage
in 8 minutes and 3 seconds
......@@ -3104,7 +3104,7 @@ class installer_base {
if (file_exists($pureftpd_pem)) rename($pureftpd_pem, $pureftpd_pem . '-' .$date->format('YmdHis') . '.bak');
// Create symlink to ISPConfig SSL files
symlink($ssl_pem_file, $pureftpd_pem); chmod($ssl_pem_file, 0600);
exec("ln -s $ssl_pem_file $pureftpd_pem");
if (!file_exists("$pureftpd_dir/pure-ftpd-dhparams.pem"))
exec("cd $pureftpd_dir; openssl dhparam -out dhparam2048.pem 2048; ln -sf dhparam2048.pem pure-ftpd-dhparams.pem");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment