Change the path for includes/require.php to the resources directory.
This commit is contained in:
@@ -31,12 +31,12 @@
|
||||
$document_root = $matches[1];
|
||||
set_include_path($document_root);
|
||||
$_SERVER["DOCUMENT_ROOT"] = $document_root;
|
||||
require_once "includes/require.php";
|
||||
require_once "resources/require.php";
|
||||
$display_type = 'text'; //html, text
|
||||
}
|
||||
else {
|
||||
include "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "resources/require.php";
|
||||
}
|
||||
|
||||
//set debug
|
||||
|
||||
Reference in New Issue
Block a user