From 388927462917dc11478640aa9f0538ea944fc830 Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Thu, 8 May 2014 12:16:09 +0000 Subject: [PATCH] Fixing bootstrap for ./console phpci:install --- bootstrap.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bootstrap.php b/bootstrap.php index 02e8c820..2a271503 100755 --- a/bootstrap.php +++ b/bootstrap.php @@ -69,6 +69,9 @@ $conf['b8']['app']['default_controller'] = 'Home'; $conf['b8']['view']['path'] = dirname(__FILE__) . '/PHPCI/View/'; $config = new b8\Config($conf); -$config->loadYaml($configFile); + +if (file_exists($configFile)) { + $config->loadYaml($configFile); +} require_once(dirname(__FILE__) . '/vars.php');