think\lang类增加detect方法用于自动侦测 改进Url类的route方法

This commit is contained in:
thinkphp
2015-12-18 22:51:01 +08:00
parent fd6aaa42f9
commit 730154d124
4 changed files with 40 additions and 7 deletions

View File

@@ -665,7 +665,7 @@ class Route
}
return $url;
} else {
return null;
return false;
}
}
}