From 3abf806428a93c4b8dda5e4d2501cb099f5f3a63 Mon Sep 17 00:00:00 2001 From: Haydar Ciftci Date: Thu, 28 Nov 2013 14:51:08 +0100 Subject: [PATCH] Fixed an issue where the boostrap file redirects infinitely to /install.php --- bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 bootstrap.php diff --git a/bootstrap.php b/bootstrap.php old mode 100644 new mode 100755 index 17aaf608..055585ac --- a/bootstrap.php +++ b/bootstrap.php @@ -27,7 +27,7 @@ $autoload = function ($class) { spl_autoload_register($autoload, true, true); -if (!file_exists(dirname(__FILE__) . '/PHPCI/config.yml') && (!defined('PHPCI_IS_CONSOLE') || !PHPCI_IS_CONSOLE)) { +if (!file_exists(dirname(__FILE__) . '/PHPCI/config.yml') && (!defined('PHPCI_IS_CONSOLE') || !PHPCI_IS_CONSOLE) && $_SERVER['PHP_SELF'] != '/install.php') { header('Location: install.php'); die; }