Fixing bootstrap for ./console phpci:install
This commit is contained in:
parent
0333016828
commit
b1885a07fd
1 changed files with 4 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue