| | |
| | | } |
| | | |
| | | |
| | | if($this->action == 'insert') { |
| | | if($this->action == 'insert' && $data["new"]["type"] == 'vhost') { |
| | | // Copy the error pages |
| | | $error_page_path = escapeshellcmd($data["new"]["document_root"])."/web/error/"; |
| | | exec("cp /usr/local/ispconfig/server/conf/error/".substr(escapeshellcmd($conf["language"]),0,2)."/* ".$error_page_path); |
| | |
| | | |
| | | $tpl->setVar('fastcgi_alias',$fastcgi_config["fastcgi_alias"]); |
| | | $tpl->setVar('fastcgi_starter_path',$fastcgi_starter_path); |
| | | $tpl->setVar('fastcgi_starter_script',$fastcgi_config["fastcgi_starter_script"]); |
| | | |
| | | } |
| | | |