添加路由和绑定信息记录

This commit is contained in:
thinkphp
2016-01-27 22:13:27 +08:00
parent d8e1d3eec7
commit 0f04cdf8b1
2 changed files with 4 additions and 2 deletions

View File

@@ -419,6 +419,8 @@ class Route
private static function checkUrlBind(&$url, &$rules)
{
if (!empty(self::$bind['type'])) {
// 记录绑定信息
Log::record('[ BIND ] ' . var_export(self::$bind, true), 'info');
// 如果有URL绑定 则进行绑定检测
switch (self::$bind['type']) {
case 'class':