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