mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Change the path for includes/require.php to the resources directory.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
preg_match("/^(.*)\/core\/.*$/", $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
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
}
|
||||
else {
|
||||
include "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
if (permission_exists('upgrade_schema') || permission_exists('upgrade_svn') || if_group("superadmin")) {
|
||||
//echo "access granted";
|
||||
|
||||
Reference in New Issue
Block a user