- Fixed error messages of server cron when moving websites with vhost subdomains between clients
| | |
| | | //* 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]); |
| | |
| | | $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); |
| | | |