From 25f31081e8130aa6b10d0cd1a3919217239568e3 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sat, 9 Jan 2016 20:38:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E6=9D=A1=E4=BB=B6=20ext=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=A4=9A=E4=B8=AA=E5=90=8E=E7=BC=80=E9=AA=8C?= =?UTF-8?q?=E8=AF=81?= 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 0c86281b..6e08c0fd 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -405,7 +405,7 @@ class Route { // 请求类型检测 if ((isset($option['method']) && false === stripos($option['method'], REQUEST_METHOD)) - || (isset($option['ext']) && __EXT__ != $option['ext']) // 伪静态后缀检测 + || (isset($option['ext']) && false === stripos($option['ext'], __EXT__)) // 伪静态后缀检测 || (isset($option['domain']) && $_SERVER['HTTP_HOST'] != $option['domain']) // 域名检测 || (!empty($option['https']) && !self::isSsl()) // https检测 || (!empty($option['behavior']) && false === Hook::exec($option['behavior'])) // 行为检测