From 4865355dfc3ec4aa9c217ee36bb45489d1cb7a4e Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sun, 23 Oct 2016 22:10:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BRoute=E7=B1=BBparseUrl?= =?UTF-8?q?=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 be24c7c4..f3da8139 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -1207,7 +1207,7 @@ class Route // 检查地址是否被定义过路由 $name = strtolower($module . '/' . Loader::parseName($controller, 1) . '/' . $action); $name2 = ''; - if (empty($module) || isset(self::$bind['module']) && $module == self::$bind['module']) { + if (empty($module) || isset($bind) && $module == $bind) { $name2 = strtolower(Loader::parseName($controller, 1) . '/' . $action); }