mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-02 02:03:48 +00:00
If config.php does not exist then redirect to the install.php.
This commit is contained in:
@@ -26,6 +26,12 @@
|
||||
include "root.php";
|
||||
require_once "includes/require.php";
|
||||
|
||||
//if config.php does not exist then redirect to the install.php.
|
||||
if (!file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php")){
|
||||
header("Location: ".PROJECT_PATH."/resources/install.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
echo "<!--\n";
|
||||
require_once "core/login/app_languages.php";
|
||||
|
||||
Reference in New Issue
Block a user