소스 검색

Fix path issue in require.php.

reliberate 9 년 전
부모
커밋
02478f1e97
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      resources/require.php

+ 1 - 1
resources/require.php

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