qq 环境检测优化

This commit is contained in:
Devil 2021-05-28 15:46:10 +08:00
parent 3accdcd32c
commit 1f24c8054c

View File

@ -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);
}
/**