mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix path issue in require.php.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
$config_exists = true;
|
||||
include "/usr/local/etc/fusionpbx/config.php";
|
||||
}
|
||||
elseif (file_exists("resources/config.php")) {
|
||||
elseif (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/config.php")) {
|
||||
$config_exists = true;
|
||||
include "resources/config.php";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user