瀏覽代碼

Update the description

FusionPBX 2 年之前
父節點
當前提交
4e3b83b5e3
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      login.php

+ 3 - 3
login.php

@@ -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 (file_exists("/usr/local/etc/fusionpbx/config.conf")){
+//if config.conf file does not exist then redirect to the install page
+	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");