Change links from includes to the resources directory.

This commit is contained in:
Mark Crane
2013-07-10 23:41:12 +00:00
parent 2c3f51fdcf
commit 9f71bdd024
16 changed files with 43 additions and 23 deletions

View File

@@ -55,8 +55,8 @@ include "root.php";
include "root.php";
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/resources/config.php")) {
include $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/resources/config.php";
} elseif (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php")) {
include $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php";
} elseif (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/resources/config.php")) {
include $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/resources/config.php";
} elseif (file_exists("/etc/fusionpbx/config.php")){
//linux
include "/etc/fusionpbx/config.php";