diff --git a/core/user_settings/user_dashboard.php b/core/user_settings/user_dashboard.php index 7dd57d1136..5b6bb18490 100644 --- a/core/user_settings/user_dashboard.php +++ b/core/user_settings/user_dashboard.php @@ -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";