ftimme
2013-02-12 04cf58be7b4e4bb6e3d4b9f82a5ce74cd5688219
server/plugins-available/nginx_plugin.inc.php
@@ -435,6 +435,7 @@
            }
         }
         if($data["new"]["type"] != "vhostsubdomain") {
         //* Move the site data
         $tmp_docroot = explode('/',$data['new']['document_root']);
         unset($tmp_docroot[count($tmp_docroot)-1]);
@@ -470,6 +471,7 @@
         $command .= ' --gid '.escapeshellcmd($data['new']['system_group']);
         $command .= ' '.escapeshellcmd($data['new']['system_user']);
         exec($command);
         }
         if($nginx_chrooted) $this->_exec('chroot '.escapeshellcmd($web_config['website_basedir']).' '.$command);