This commit is contained in:
2025-12-31 00:19:29 +08:00
parent 34051feb87
commit 91e0fe8940
12 changed files with 569 additions and 66 deletions
+2 -2
View File
@@ -192,7 +192,7 @@ class Router
$container = Kiri::getDi();
$scanner = $container->get(Kiri\Di\Scanner::class);
$scanner->load_directory(APP_PATH . 'app/Controller');
$scanner->scan(APP_PATH . 'app/');
$this->reset($container);
$coordinator->done();
@@ -255,7 +255,7 @@ class Router
try {
include "$files";
} catch (\Throwable $throwable) {
error($throwable);
\Kiri::getLogger()->json_log($throwable);
}
}