瀏覽代碼

Remove redundant code from login.php.

Mark Crane 10 年之前
父節點
當前提交
186b1cf94a
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      login.php

+ 0 - 3
login.php

@@ -40,9 +40,6 @@ include "root.php";
 
 //if config.php file does not exist then redirect to the install page
 	if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/resources/config.php")) {
-		//do nothing
-	}
-	else if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/resources/config.php")) {
 		//original directory
 	}
 	else if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php")) {