mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-01 05:29:18 +00:00
Update user_dashboard.php
This commit is contained in:
@@ -31,20 +31,6 @@
|
||||
//includes files
|
||||
require_once "resources/require.php";
|
||||
|
||||
//if config.php file does not exist then redirect to the install page
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/resources/config.php")) {
|
||||
//do nothing
|
||||
} elseif (file_exists($_SERVER["PROJECT_ROOT"]."/resources/config.php")) {
|
||||
//original directory
|
||||
} elseif (file_exists("/etc/fusionpbx/config.php")){
|
||||
//linux
|
||||
} elseif (file_exists("/usr/local/etc/fusionpbx/config.php")){
|
||||
//bsd
|
||||
} else {
|
||||
header("Location: ".PROJECT_PATH."/core/install/install.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
//additional includes
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user