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);