Fix path issue in require.php.

This commit is contained in:
reliberate 2016-05-05 14:18:59 -06:00
parent 4ee1e05ebe
commit 794361da95
1 changed files with 1 additions and 1 deletions

View File

@ -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";
}