mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
应用商店帐号绑定、更新检查
This commit is contained in:
@ -76,7 +76,11 @@ function GetUrlHost($url)
|
||||
{
|
||||
// 地址解析
|
||||
$arr = parse_url(strtolower($url));
|
||||
$host = (count($arr) == 1) ? $arr['path'] : $arr['host'];
|
||||
$host = (count($arr) == 1) ? $arr['path'] : (empty($arr['host']) ? '' : $arr['host']);
|
||||
if(empty($host))
|
||||
{
|
||||
return $url;
|
||||
}
|
||||
|
||||
// 是否存在斜杠
|
||||
if(stripos($host, '/') !== false)
|
||||
|
||||
Reference in New Issue
Block a user