From 21c54c0fa65357af0a4266451c1699fe93864769 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 26 Jul 2016 15:45:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E8=B7=AF=E7=94=B1=E7=B1=BB?= =?UTF-8?q?=E7=9A=84checkRoute=E6=96=B9=E6=B3=95?= 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 0ad85b65..2f7cb64d 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -770,7 +770,7 @@ class Route if (false !== $result) { return $result; } - } else { + } elseif ($route) { if ('__miss__' == $rule) { // 指定MISS路由 $miss = $item;