From 2886627dc222945092114be59595bd7b7d093422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 26 Oct 2021 11:20:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-core/Handler/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-core/Handler/Router.php b/http-core/Handler/Router.php index 15682e4b..416d2bca 100644 --- a/http-core/Handler/Router.php +++ b/http-core/Handler/Router.php @@ -245,7 +245,7 @@ class Router private function loadRouterFile($files) { try { - include_once "Router.php"; + include_once "$files"; } catch (Throwable $exception) { di(Logger::class)->error('router', [ $exception->getMessage(),