| | |
| | | */ |
| | | if ($data['new']['chroot'] == "jailkit") |
| | | { |
| | | $app->system->web_folder_protection($web['document_root'],false); |
| | | |
| | | |
| | | // load the server configuration options |
| | | $app->uses("getconf"); |
| | |
| | | $this->jailkit_config = $app->getconf->get_server_config($conf["server_id"], 'jailkit'); |
| | | |
| | | $this->_update_website_security_level(); |
| | | |
| | | $app->system->web_folder_protection($web['document_root'],false); |
| | | |
| | | $this->_setup_jailkit_chroot(); |
| | | |
| | |
| | | */ |
| | | if ($data['new']['chroot'] == "jailkit") |
| | | { |
| | | $app->system->web_folder_protection($web['document_root'],false); |
| | | |
| | | // load the server configuration options |
| | | $app->uses("getconf"); |
| | |
| | | $this->jailkit_config = $app->getconf->get_server_config($conf["server_id"], 'jailkit'); |
| | | |
| | | $this->_update_website_security_level(); |
| | | |
| | | $app->system->web_folder_protection($web['document_root'],false); |
| | | |
| | | $this->_setup_jailkit_chroot(); |
| | | $this->_add_jailkit_user(); |