From 899ba253b11791f7aca1dd275f4489a34d1a5348 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 23 Sep 2016 17:53:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E5=88=B0=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=90=8E=20=E8=B7=AF=E7=94=B1=E4=BE=9D=E7=84=B6=E4=BC=98?= =?UTF-8?q?=E5=85=88=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Route.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/think/Route.php b/library/think/Route.php index d1c2e14f..1963d9e2 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -985,10 +985,6 @@ class Route case 'namespace': // 绑定到命名空间 return self::bindToNamespace($url, $bind, $depr); - case 'module': - // 如果有模块/控制器绑定 针对路由到 模块/控制器 有效 - $url = (empty(self::$domainBind) ? $bind . '/' : '') . ltrim($url, '/'); - break; } } return false;