Fixing bootstrap for ./console phpci:install

This commit is contained in:
Dan Cryer 2014-05-08 12:16:09 +00:00
parent fe99fa2d8f
commit 3889274629

View file

@ -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');