Fix Router and finish base view system.
This commit is contained in:
@@ -84,7 +84,11 @@ final class Kernel {
|
||||
*/
|
||||
private function loadConfig(): void {
|
||||
try {
|
||||
|
||||
self::$configs['general'] = ConfigFactory::loadConfigFile('general');
|
||||
self::$configs['route_arguments'] = ConfigFactory::loadConfigFile('route_arguments');
|
||||
self::$configs['views'] = ConfigFactory::loadConfigFile('views');
|
||||
|
||||
} catch( ConfigFailedLoadingException $e ){
|
||||
die( $e->getMessage() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user