From: root Date: Tue, 7 Jul 2020 07:58:51 +0000 (+0200) Subject: added webp into image list and to non-page list X-Git-Tag: AWSTATS_7_9~11^2~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F181%2Fhead;p=thirdparty%2FAWStats.git added webp into image list and to non-page list --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 3a3d4c6f..9ec56df7 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -1789,7 +1789,8 @@ sub Read_Config { 'png' => 1, 'bmp' => 1, 'ico' => 1, - 'swf' => 1 + 'swf' => 1, + 'webp' => 1 ); } diff --git a/wwwroot/cgi-bin/lib/mime.pm b/wwwroot/cgi-bin/lib/mime.pm index bb9aa6cf..2fe1e492 100644 --- a/wwwroot/cgi-bin/lib/mime.pm +++ b/wwwroot/cgi-bin/lib/mime.pm @@ -126,6 +126,7 @@ 'heic',['image','i'], 'tif',['image','i'], 'tiff',['image','i'], +'webp',['image','i'], # Document 'ai',['document','d'], 'doc',['document','d'],