getFor('_')); } // Load configuration if present: $conf = array(); $conf['b8']['app']['namespace'] = 'PHPCI'; $conf['b8']['app']['default_controller'] = 'Home'; $conf['b8']['view']['path'] = dirname(__FILE__) . '/PHPCI/View/'; $config = new b8\Config($conf); if (file_exists($configFile)) { $config->loadYaml($configFile); } /** * Allow to modify PHPCI configuration without modify versioned code. * Dameons should be killed to apply changes in the file. * * @ticket 781 */ $localVarsFile = dirname(__FILE__) . '/local_vars.php'; if (is_readable($localVarsFile)) { require_once $localVarsFile; } require_once(dirname(__FILE__) . '/vars.php'); \PHPCI\Helper\Lang::init($config);