Update user_dashboard.php

This commit is contained in:
FusionPBX 2022-10-10 19:39:27 -06:00 committed by GitHub
parent fb0c92bbeb
commit e3b782e7cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 14 deletions

View File

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