| | |
| | | $this->app = $app; |
| | | $this->jailkit_config = $app->getconf->get_server_config($conf["server_id"], 'jailkit'); |
| | | |
| | | $app->system->web_folder_protection($parent_domain['document_root'],false); |
| | | |
| | | $this->_update_website_security_level(); |
| | | |
| | | $this->_setup_jailkit_chroot(); |
| | |
| | | exec($command); |
| | | |
| | | $this->_update_website_security_level(); |
| | | |
| | | $app->system->web_folder_protection($parent_domain['document_root'],true); |
| | | } |
| | | |
| | | $app->log("Jailkit Plugin (Cron) -> insert username:".$parent_domain['system_user'],LOGLEVEL_DEBUG); |
| | |
| | | $this->app = $app; |
| | | $this->jailkit_config = $app->getconf->get_server_config($conf["server_id"], 'jailkit'); |
| | | |
| | | $app->system->web_folder_protection($parent_domain['document_root'],false); |
| | | $this->_update_website_security_level(); |
| | | |
| | | $this->_setup_jailkit_chroot(); |
| | | $this->_add_jailkit_user(); |
| | | |
| | | $this->_update_website_security_level(); |
| | | $app->system->web_folder_protection($parent_domain['document_root'],true); |
| | | } |
| | | |
| | | $app->log("Jailkit Plugin (Cron) -> update username:".$parent_domain['system_user'],LOGLEVEL_DEBUG); |