From e52b79f2b5aa3c0f01796c042a97300a38b7800e Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Tue, 19 Dec 2006 14:28:51 +0000 Subject: [PATCH] Bug #3619 - windows vista detection added to log. --- e107_plugins/log/loginfo.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/e107_plugins/log/loginfo.php b/e107_plugins/log/loginfo.php index 0f0ac4e6d..9fe59d2ac 100644 --- a/e107_plugins/log/loginfo.php +++ b/e107_plugins/log/loginfo.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/log/loginfo.php,v $ -| $Revision: 1.1.1.1 $ -| $Date: 2006-12-02 04:35:27 $ -| $Author: mcfly_e107 $ +| $Revision: 1.2 $ +| $Date: 2006-12-19 14:28:51 $ +| $Author: e107coders $ +----------------------------------------------------------------------------+ */ @@ -198,6 +198,7 @@ function getBrowser($agent) { function getOs($agent) { $os = array( + "windowsvista" => array('name' => 'Windows Vista', 'rule' => 'wi(n|ndows)[ \-]?nt[ /]?6\.0'), "windows2003" => array('name' => 'Windows 2003', 'rule' => 'wi(n|ndows)[ \-]?(2003|nt[ /]?5\.2)'), "windowsxp" => array('name' => 'Windows XP', 'rule' => 'Windows XP'), "windowsxp2" => array('name' => 'Windows XP', 'rule' => 'wi(n|ndows)[ \-]?nt[ /]?5\.1'),