Explorar o código

Remove redundant code from login.php.

Mark Crane %!s(int64=10) %!d(string=hai) anos
pai
achega
ec62e18f70
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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")) {