应用商店帐号绑定、更新检查

This commit is contained in:
Devil
2021-04-20 18:38:23 +08:00
parent a67724048c
commit 75ee4acae7
17 changed files with 957 additions and 96 deletions

View File

@ -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)