Browse Source

Add document_root to config.lua.

Mark Crane 10 years ago
parent
commit
929349f239
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/databases/app_defaults.php

+ 1 - 0
core/databases/app_defaults.php

@@ -135,6 +135,7 @@ if ($domains_processed == 1) {
 				else {
 				else {
 					$tmp .= "	php_bin = \"php\";\n";
 					$tmp .= "	php_bin = \"php\";\n";
 				}
 				}
+				$tmp .= "	document_root = \"".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."\";\n";
 				$tmp .= "\n";
 				$tmp .= "\n";
 				$tmp .= "--database information\n";
 				$tmp .= "--database information\n";
 				$tmp .= "	database = {}\n";
 				$tmp .= "	database = {}\n";