mcramer
2013-02-08 43686d3f79154be31eb85c2e748fe0f96695e05c
server/plugins-available/apache2_plugin.inc.php
@@ -431,6 +431,7 @@
         //* Remove protection of old folders
         $app->system->web_folder_protection($data['old']['document_root'],false);
            if($data["new"]["type"] != "vhostsubdomain") {
         //* Move the site data
         $tmp_docroot = explode('/',$data['new']['document_root']);
         unset($tmp_docroot[count($tmp_docroot)-1]);
@@ -466,6 +467,7 @@
         $command .= ' --gid '.escapeshellcmd($data['new']['system_group']);
         $command .= ' '.escapeshellcmd($data['new']['system_user']);
         exec($command);
            }
         if($apache_chrooted) $this->_exec('chroot '.escapeshellcmd($web_config['website_basedir']).' '.$command);