eee
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user