From 35d2c6552c043e47c44d8f981b201e401a508107 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 22 Dec 2016 18:17:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Route=E7=B1=BB=E4=B8=80?= =?UTF-8?q?=E5=A4=84=E9=94=99=E8=AF=AF?= 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 735e6ef0..6a6bac81 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -302,7 +302,7 @@ class Route $option['complete_match'] = true; } - if (true == $option['complete_match'] && '$' == substr($rule, -1, 1)) { + if ('$' == substr($rule, -1, 1)) { $rule = substr($rule, 0, -1); }