This commit is contained in:
2021-10-26 11:20:58 +08:00
parent d1c60633a9
commit 2886627dc2
+1 -1
View File
@@ -245,7 +245,7 @@ class Router
private function loadRouterFile($files) private function loadRouterFile($files)
{ {
try { try {
include_once "Router.php"; include_once "$files";
} catch (Throwable $exception) { } catch (Throwable $exception) {
di(Logger::class)->error('router', [ di(Logger::class)->error('router', [
$exception->getMessage(), $exception->getMessage(),