Remove redundant code from login.php.

This commit is contained in:
Mark Crane 2015-05-25 15:52:16 +00:00
parent ba7d32cb4f
commit 8a5c09b0ee
1 changed files with 0 additions and 3 deletions

View File

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