mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 07:32:48 +08:00
路由生成改进对 路由地址为类的方法的支持
This commit is contained in:
@@ -53,7 +53,7 @@ class Url
|
|||||||
// 解析域名
|
// 解析域名
|
||||||
list($anchor, $domain) = explode('@', $anchor, 2);
|
list($anchor, $domain) = explode('@', $anchor, 2);
|
||||||
}
|
}
|
||||||
} elseif (strpos($url, '@')) {
|
} elseif (strpos($url, '@') && false === strpos($url, '\\')) {
|
||||||
// 解析域名
|
// 解析域名
|
||||||
list($url, $domain) = explode('@', $url, 2);
|
list($url, $domain) = explode('@', $url, 2);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user