From ab826da071a7a47116a7f1d01f72228d6bcf212a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BA=9A=E4=BF=8A?= Date: Tue, 4 Sep 2018 17:18:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E6=A8=A1=E5=BC=8F=E4=B8=8B?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E8=B7=AF=E7=94=B1=E8=A7=A3=E6=9E=90=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Route.php b/library/think/Route.php index 4bba10dc..ab53aa20 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -836,7 +836,7 @@ class Route public static function check($request, $url, $depr = '/', $checkDomain = false) { //检查解析缓存 - if (Config::get('route_check_cache')) { + if (!App::$debug && Config::get('route_check_cache')) { $key = self::getCheckCacheKey($request); if (Cache::has($key)) { list($rule, $route, $pathinfo, $option, $matches) = Cache::get($key);