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; }