diff --git a/libs/UserAgentParser/UserAgentParser.php b/libs/UserAgentParser/UserAgentParser.php old mode 100644 new mode 100755 index 85c9225cc59..89b4a0d431a --- a/libs/UserAgentParser/UserAgentParser.php +++ b/libs/UserAgentParser/UserAgentParser.php @@ -228,6 +228,7 @@ class UserAgentParser // workaround for vendors who changed the WinPhone 7 user agent 'WP7' => 'WPH', + 'Windows NT 6.3' => 'WI8.1', 'CYGWIN_NT-6.2' => 'WI8', 'Windows NT 6.2' => 'WI8', 'Windows 8' => 'WI8', @@ -334,7 +335,7 @@ class UserAgentParser // NOTE: The keys in this array are used by plugins/UserSettings/functions.php . Any changes // made here should also be made in that file. static protected $osType = array( - 'Windows' => array('WI8', 'WI7', 'WVI', 'WS3', 'WXP', 'W2K', 'WNT', 'WME', 'W98', 'W95'), + 'Windows' => array('WI8.1', 'WI8', 'WI7', 'WVI', 'WS3', 'WXP', 'W2K', 'WNT', 'WME', 'W98', 'W95'), 'Linux' => array('LIN'), 'Mac' => array('MAC'), 'iOS' => array('IPD', 'IPA', 'IPH'), @@ -628,6 +629,7 @@ static protected function init() 'DSI' => 'DSi', '3DS' => '3DS', 'PSV' => 'PS Vita', + 'WI8.1' => 'Win 8.1', 'WI8' => 'Win 8', 'WI7' => 'Win 7', 'WVI' => 'Win Vista', diff --git a/plugins/DevicesDetection/UserAgentParserEnhanced/UserAgentParserEnhanced.php b/plugins/DevicesDetection/UserAgentParserEnhanced/UserAgentParserEnhanced.php old mode 100644 new mode 100755 index aea7f6bfc1b..1720aec801b --- a/plugins/DevicesDetection/UserAgentParserEnhanced/UserAgentParserEnhanced.php +++ b/plugins/DevicesDetection/UserAgentParserEnhanced/UserAgentParserEnhanced.php @@ -183,6 +183,7 @@ class UserAgentParserEnhanced 'Windows 3.1' => 'W31', 'Windows 7' => 'WI7', 'Windows 8' => 'WI8', + 'Windows 8.1' => 'WI8.1', 'Windows 95' => 'W95', 'Windows 98' => 'W98', 'Windows CE' => 'WCE',