]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Now .shtml extension is recognised.
authoreldy <>
Sat, 17 Nov 2001 03:37:09 +0000 (03:37 +0000)
committereldy <>
Sat, 17 Nov 2001 03:37:09 +0000 (03:37 +0000)
wwwroot/cgi-bin/awstats.pl

index 3b6a9e93afe109f224f7194ceab0073c35f16fbe..74504a0f7bc02a6bff7345fd2b13983786a27f52 100644 (file)
@@ -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; } }