mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 10:56:31 +00:00
Unix friendly changes.
This commit is contained in:
@@ -24,7 +24,15 @@
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
include "root.php";
|
||||
include "includes/config.php";
|
||||
if (file_exists("/etc/fusionpbx/config.php")) {
|
||||
include "/etc/fusionpbx/config.php";
|
||||
}
|
||||
elseif (file_exists("/usr/local/etc/fusionpbx/config.php")) {
|
||||
include "/usr/local/etc/fusionpbx/config.php";
|
||||
}
|
||||
else {
|
||||
include "includes/config.php";
|
||||
}
|
||||
require_once "includes/lib_php.php";
|
||||
require "includes/lib_pdo.php";
|
||||
require_once "includes/lib_functions.php";
|
||||
|
||||
Reference in New Issue
Block a user