security fix: CP-01: Installation

This commit is contained in:
Usman Nasir
2021-07-29 13:06:20 +05:00
parent 7b7c336b0e
commit fd82b81b33
2 changed files with 8 additions and 2 deletions

View File

@@ -2070,6 +2070,9 @@ echo $oConfig->Save() ? 'Done' : 'Error';
command = '/usr/local/lsws/lsphp72/bin/php /usr/local/CyberCP/public/rainloop.php'
Upgrade.executioner(command, 0)
command = 'chmod 600 /usr/local/CyberCP/public/rainloop.php'
Upgrade.executioner(command, 0)
Upgrade.stdOut("Permissions updated.")
except BaseException as msg: