tbrehm
2007-11-01 30aa0891b8ef7204b899d90bf3757a5a1881d044
server/plugins-enabled/apache2_plugin.inc.php
@@ -235,9 +235,12 @@
      }
      
      // Copy the error pages
      $error_page_path = escapeshellcmd($data["new"]["web_document_root"])."/web/error/";
      $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);
      
      // copy the standard index page
      exec("cp /usr/local/ispconfig/server/conf/index/standard_index.html_".substr(escapeshellcmd($conf["language"]),0,2)." ".escapeshellcmd($data["new"]["document_root"])."/web/");
      // Create group and user, if not exist
      $app->uses("system");