Преглед изворни кода

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