Remove redundant code from login.php.
This commit is contained in:
parent
ba7d32cb4f
commit
8a5c09b0ee
|
|
@ -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")) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue