Fixing bootstrap for ./console phpci:install
This commit is contained in:
parent
fe99fa2d8f
commit
3889274629
|
@ -69,6 +69,9 @@ $conf['b8']['app']['default_controller'] = 'Home';
|
||||||
$conf['b8']['view']['path'] = dirname(__FILE__) . '/PHPCI/View/';
|
$conf['b8']['view']['path'] = dirname(__FILE__) . '/PHPCI/View/';
|
||||||
|
|
||||||
$config = new b8\Config($conf);
|
$config = new b8\Config($conf);
|
||||||
$config->loadYaml($configFile);
|
|
||||||
|
if (file_exists($configFile)) {
|
||||||
|
$config->loadYaml($configFile);
|
||||||
|
}
|
||||||
|
|
||||||
require_once(dirname(__FILE__) . '/vars.php');
|
require_once(dirname(__FILE__) . '/vars.php');
|
||||||
|
|
Loading…
Reference in a new issue