Refactored Config.
This commit is contained in:
parent
e23ad3237a
commit
dd9f43b7dd
37 changed files with 40 additions and 43 deletions
|
|
@ -32,7 +32,7 @@ $conf['b8']['app']['namespace'] = 'PHPCensor';
|
|||
$conf['b8']['app']['default_controller'] = 'Home';
|
||||
$conf['b8']['view']['path'] = SRC_DIR . 'View/';
|
||||
|
||||
$config = new b8\Config($conf);
|
||||
$config = new PHPCensor\Config($conf);
|
||||
|
||||
$configFile = APP_DIR . 'config.yml';
|
||||
if (file_exists($configFile)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue