From e6b052f8e972273784df50fad9c6fe17ef957662 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sun, 3 Jun 2018 17:03:53 +0200 Subject: [PATCH] * lowered condition execution cost --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index f3580be3..2996591a 100644 --- a/index.php +++ b/index.php @@ -59,7 +59,7 @@ else if(preg_match("/^(.*)\.(gif|jpg|png|jpeg|tiff|bmp|css|js|less|map|html|php| if(file_exists(BASE . 'config.local.php')) require_once BASE . 'config.local.php'; -if(file_exists(BASE . 'install') && (!isset($config['installed']) || !$config['installed'])) +if((!isset($config['installed']) || !$config['installed']) && file_exists(BASE . 'install')) { header('Location: ' . BASE_URL . 'install/'); die('Setup detected that install/ directory exists. Please visit this url to start MyAAC Installation.
Delete install/ directory if you already installed MyAAC.
Remember to REFRESH this page when you\'re done!');