Update the description
This commit is contained in:
parent
f54f1e6fc5
commit
0ef99c7649
|
|
@ -33,10 +33,10 @@
|
||||||
//start session
|
//start session
|
||||||
if (!isset($_SESSION)) { session_start(); }
|
if (!isset($_SESSION)) { session_start(); }
|
||||||
|
|
||||||
//if config.php file does not exist then redirect to the install page
|
//if config.conf file does not exist then redirect to the install page
|
||||||
if (file_exists("/usr/local/etc/fusionpbx/config.conf")){
|
if (file_exists("/usr/local/etc/fusionpbx/config.conf")) {
|
||||||
//BSD
|
//BSD
|
||||||
} elseif (file_exists("/etc/fusionpbx/config.conf")){
|
} elseif (file_exists("/etc/fusionpbx/config.conf")) {
|
||||||
//Linux
|
//Linux
|
||||||
} else {
|
} else {
|
||||||
header("Location: ".PROJECT_PATH."/core/install/install.php");
|
header("Location: ".PROJECT_PATH."/core/install/install.php");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue