| | |
| | | if($web_config['security_level'] == 20) { |
| | | |
| | | $app->system->chmod($data['new']['document_root'], 0755); |
| | | $app->system->chmod($data['new']['document_root'].'/web', 0710); |
| | | $app->system->chmod($data['new']['document_root'].'/web', 0711); |
| | | //$app->system->chmod($data['new']['document_root'].'/webdav',0710); |
| | | $app->system->chmod($data['new']['document_root'].'/private', 0710); |
| | | $app->system->chmod($data['new']['document_root'].'/ssl', 0755); |
| | |
| | | $tpl->setVar('pm_max_requests', $data['new']['pm_max_requests']); |
| | | $tpl->setVar('document_root', $data['new']['document_root']); |
| | | $tpl->setVar('security_level', $web_config['security_level']); |
| | | $tpl->setVar('domain', $data['new']['domain']); |
| | | $php_open_basedir = ($data['new']['php_open_basedir'] == '')?escapeshellcmd($data['new']['document_root']):escapeshellcmd($data['new']['php_open_basedir']); |
| | | $tpl->setVar('php_open_basedir', $php_open_basedir); |
| | | if($php_open_basedir != ''){ |