This commit is contained in:
2023-04-16 02:28:58 +08:00
parent aa0a661c37
commit a47478f397
+2 -1
View File
@@ -174,7 +174,8 @@ class Router
*/
public function scan_build_route(): void
{
scan_directory(APP_PATH, 'App');
$scanner = Kiri::getDi()->get(Kiri\Scanner::class);
$scanner->parse('App');
$this->read_dir_file(APP_PATH . 'routes');
}