取消URL参数常量

This commit is contained in:
thinkphp
2015-11-30 10:04:11 +08:00
parent f6e3ec30a5
commit 95f1cd4b61
3 changed files with 7 additions and 30 deletions

View File

@@ -365,7 +365,7 @@ class Route
public static function parseUrl($url)
{
if ('/' == $url) {
return;
return [null, null, null];
}
$paths = explode('/', $url);