修改bug

master
ELF 5 years ago
parent 2abdcd6147
commit 639e7117b8

@ -63,7 +63,8 @@ class Request {
public function isIOS13()
{
$userAgent = $this->getUserAgent();
if (preg_match('/OS [1][3-9]_[1-9][_\d]* like Mac OS X/i', $userAgent)) {
// if (preg_match('/OS [1][3-9]_[1-9][_\d]* like Mac OS X/i', $userAgent)) {
if (preg_match('/OS.*[1][3-9]_[1-9][_\d]*.*like.*Mac.*OS.*X/i', $userAgent)) {
return true;
}
return false;

Loading…
Cancel
Save