Commit 3b05bb16 authored by Hj Ahmad Rasyid Hj Ismail's avatar Hj Ahmad Rasyid Hj Ismail
Browse files

Update installer_base.lib.php to change force permission from target...

Update installer_base.lib.php to change force permission from target pure-ftpd.pem to source ispserver.pem instead.
parent 49b1c50b
Pipeline #7116 passed with stage
in 8 minutes and 18 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($pureftpd_pem, 0600);
symlink($ssl_pem_file, $pureftpd_pem); chmod($ssl_pem_file, 0600);
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");
}
......
Supports Markdown
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