From 8a5c09b0ee47a9ab51ab123a0d5af1b224cf1b99 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Mon, 25 May 2015 15:52:16 +0000 Subject: [PATCH] Remove redundant code from login.php. --- login.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/login.php b/login.php index 0960599fb2..936ed96698 100644 --- a/login.php +++ b/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")) {