mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
修正Url类
This commit is contained in:
@@ -40,9 +40,9 @@ class Url
|
|||||||
// 解析域名
|
// 解析域名
|
||||||
list($anchor, $domain) = explode('@', $anchor, 2);
|
list($anchor, $domain) = explode('@', $anchor, 2);
|
||||||
}
|
}
|
||||||
} elseif (false !== strpos($url, '@')) {
|
} elseif (strpos($url, '@')) {
|
||||||
// 解析域名
|
// 解析域名
|
||||||
list($url, $domain) = explode('@', $info['path'], 2);
|
list($url, $domain) = explode('@', $url, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 解析参数
|
// 解析参数
|
||||||
|
|||||||
Reference in New Issue
Block a user