tbrehm
2012-10-17 77ce44ebeff00f92078c17715a2392d3f0c2eeed
server/plugins-available/shelluser_jailkit_plugin.inc.php
@@ -80,7 +80,7 @@
          */
         if ($data['new']['chroot'] == "jailkit")
         {
            $app->system->web_folder_protection($web['document_root'],false);
            
            // load the server configuration options
            $app->uses("getconf");
@@ -89,6 +89,8 @@
            $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();
            
@@ -131,7 +133,6 @@
          */
         if ($data['new']['chroot'] == "jailkit")
         {
            $app->system->web_folder_protection($web['document_root'],false);
            
            // load the server configuration options
            $app->uses("getconf");
@@ -141,6 +142,8 @@
            
            $this->_update_website_security_level();
         
            $app->system->web_folder_protection($web['document_root'],false);
            $this->_setup_jailkit_chroot();
            $this->_add_jailkit_user();