Fix Router and finish base view system.

This commit is contained in:
2026-03-20 13:59:34 +01:00
parent c36b95a15f
commit 43eb936532
11 changed files with 267 additions and 18 deletions

View File

@@ -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() );
}