Update user_agent.php

For iPhone and iPad
This commit is contained in:
Visman 2021-10-15 22:48:22 +07:00
parent 658a083f9b
commit 6ace7dbb48
3 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

View File

@ -56,7 +56,7 @@ function get_useragent_names($usrag)
$browser = 'Opera';
// System detection
$systems = array('Windows', 'Linux', 'Mac', 'Android', 'Amiga', 'BeOS', 'FreeBSD', 'HP-UX', 'NetBSD', 'OS/2', 'SunOS', 'Symbian', 'Unix', 'J2ME/MIDP', 'BlackBerry', 'BB10');
$systems = array('Windows', 'Linux', 'iPhone', 'iPad', 'Mac', 'Android', 'Amiga', 'BeOS', 'FreeBSD', 'HP-UX', 'NetBSD', 'OS/2', 'SunOS', 'Symbian', 'Unix', 'J2ME/MIDP', 'BlackBerry', 'BB10');
$system = ua_search_for_item($systems, $usrag);