fix error on missing files until installation is done
This commit is contained in:
parent
ed5611c573
commit
02fefe9985
3 changed files with 6 additions and 4 deletions
|
|
@ -47,7 +47,9 @@ $conf['b8']['app']['namespace'] = 'PHPCI';
|
|||
$conf['b8']['app']['default_controller'] = 'Home';
|
||||
$conf['b8']['view']['path'] = dirname(__FILE__) . '/PHPCI/View/';
|
||||
|
||||
$config = new b8\Config($conf);
|
||||
$config->loadYaml(dirname(__FILE__) . '/PHPCI/config.yml');
|
||||
if (file_exists(dirname(__FILE__) . '/PHPCI/config.yml')) {
|
||||
$config = new b8\Config($conf);
|
||||
$config->loadYaml(dirname(__FILE__) . '/PHPCI/config.yml');
|
||||
}
|
||||
|
||||
require_once(dirname(__FILE__) . '/vars.php');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue