mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-29 18:39:16 +08:00
qq 环境检测优化
This commit is contained in:
parent
3accdcd32c
commit
1f24c8054c
@ -267,7 +267,7 @@ function IsDingdingEnv()
|
||||
*/
|
||||
function IsQQEnv()
|
||||
{
|
||||
return (!empty($_SERVER['HTTP_USER_AGENT']) && stripos($_SERVER['HTTP_USER_AGENT'], 'MQQBrowser') !== false);
|
||||
return (!empty($_SERVER['HTTP_USER_AGENT']) && stripos($_SERVER['HTTP_USER_AGENT'], 'QQ/') !== false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user