mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +09:00
Rename OS X to macOS (official name change since Sierra)
This commit is contained in:
parent
c9c4d7cda1
commit
38b3db1238
2 changed files with 8 additions and 8 deletions
|
|
@ -191,9 +191,9 @@ class UA
|
|||
{
|
||||
$result->os = 'iOS';
|
||||
}
|
||||
elseif ($matches[1] === 'Macintosh' && strpos($ua, 'OS X') !== false)
|
||||
elseif ($matches[1] === 'Macintosh' || $matches[1] === 'OS X')
|
||||
{
|
||||
$result->os = 'OS X';
|
||||
$result->os = 'macOS';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue