Change the path for includes/require.php to the resources directory.

This commit is contained in:
Mark Crane
2013-07-06 06:03:27 +00:00
parent 5308383441
commit ffffea0710
298 changed files with 308 additions and 308 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
preg_match("/^(.*)\/mod\/.*$/", $document_root, $matches);
$document_root = $matches[1];
set_include_path($document_root);
require_once "includes/require.php";
require_once "resources/require.php";
$_SERVER["DOCUMENT_ROOT"] = $document_root;
$display_type = 'text'; //html, text
}