Updated permissions for secure mode.
| | |
| | | |
| | | //** Application |
| | | define('ISPC_APP_TITLE', 'ISPConfig'); |
| | | define('ISPC_APP_VERSION', '3.0.0.9'); |
| | | define('ISPC_APP_VERSION', '3.0.1.4'); |
| | | |
| | | |
| | | //** Database |
| | |
| | | // If the security level is set to high |
| | | if($web_config['security_level'] == 20) { |
| | | |
| | | exec("chmod 711 ".escapeshellcmd($data["new"]["document_root"]."/")); |
| | | exec("chmod 711 ".escapeshellcmd($data["new"]["document_root"])."/*"); |
| | | exec("chmod 751 ".escapeshellcmd($data["new"]["document_root"]."/")); |
| | | exec("chmod 751 ".escapeshellcmd($data["new"]["document_root"])."/*"); |
| | | exec("chmod 710 ".escapeshellcmd($data["new"]["document_root"]."/web")); |
| | | |
| | | // make temp direcory writable for the apache user and the website user |