mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix #1811 Add chromium edge detection to getBrowserInfo
This commit is contained in:
parent
10ab65e2f4
commit
34f76a79d7
2 changed files with 22 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ class UA
|
|||
return $result;
|
||||
}
|
||||
}
|
||||
if (preg_match('#Edge/([0-9]+\\.)#', $ua, $matches))
|
||||
if (preg_match('#Edg(?:e|A|iOS)?/([0-9]+\\.)#', $ua, $matches))
|
||||
{
|
||||
$result->browser = 'Edge';
|
||||
$result->version = $matches[1] . '0';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue