绑定到模块后 路由依然优先检查

This commit is contained in:
thinkphp
2016-09-23 17:53:14 +08:00
parent 73e3eb9455
commit 899ba253b1

View File

@@ -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;