From: eldy <> Date: Sat, 20 Oct 2001 18:42:24 +0000 (+0000) Subject: Better and faster browsers detection. X-Git-Tag: AWSTATS_1_0~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a4b3f2b192cf339384f110445ac99c6957554d6;p=thirdparty%2FAWStats.git Better and faster browsers detection. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 3e98dd88..e00a5555 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -78,7 +78,7 @@ $WarningMessages= 1; %MonthBytes = %MonthHits = %MonthHostsKnown = %MonthHostsUnknown = %MonthPages = %MonthUnique = %MonthVisits = %monthlib = %monthnum = (); -$VERSION="3.2 (build 15)"; +$VERSION="3.2 (build 16)"; $Lang="en"; # Default value @@ -1932,7 +1932,7 @@ if ($UpdateStats) { # Other ? if (!$found) { - foreach my $key (keys %BrowsersHashIDLib) { + foreach my $key (@BrowsersArrayID) { if ($UserAgent =~ /$key/) { $_browser_h{$key}++; $found=1; $TmpHashBrowser{$UserAgent}=$key; last; } } } @@ -2875,7 +2875,7 @@ EOF if ($ShowFileSizesStats) { } - + # BY BROWSER #----------------------------