From: eldy <> Date: Sat, 17 Nov 2001 03:37:09 +0000 (+0000) Subject: Now .shtml extension is recognised. X-Git-Tag: AWSTATS_1_0~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7436d707eff8f65e1c6238ea881dcb53f4fac98b;p=thirdparty%2FAWStats.git Now .shtml extension is recognised. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 3b6a9e93..74504a0f 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -82,7 +82,7 @@ $WarningMessages= 1; %MonthBytes = %MonthHits = %MonthHostsKnown = %MonthHostsUnknown = %MonthPages = %MonthUnique = %MonthVisits = %monthlib = %monthnum = (); -$VERSION="3.2 (build 59)"; +$VERSION="3.2 (build 60)"; $Lang="en"; # Default value @@ -2040,7 +2040,7 @@ if ($UpdateStats) { my $extension; # Extension - if ($urlwithnoquery =~ /\.(\w{1,4})$/) { + if ($urlwithnoquery =~ /\.(\w{1,5})$/) { $extension=$1; $extension =~ tr/A-Z/a-z/; # Check if not a page foreach $cursor (@NotPageList) { if ($extension eq $cursor) { $PageBool=0; last; } }