From: eldy <> Date: Fri, 21 Jan 2005 22:49:05 +0000 (+0000) Subject: Better look for file types tables. X-Git-Tag: AWSTATS_6_3_RELEASE~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ecace41473c3f5999a1fcc8aeb5ef8758707f76;p=thirdparty%2FAWStats.git Better look for file types tables. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 139344ad..c3b2613b 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -9470,7 +9470,7 @@ if (scalar keys %HTMLOutput) { print "$Message[73]"; if ($ShowFileTypesStats =~ /H/i) { print "$Message[57]$Message[15]"; } if ($ShowFileTypesStats =~ /B/i) { print "$Message[75]$Message[15]"; } - if ($ShowFileTypesStats =~ /C/i) { print "$Message[100]$Message[101]$Message[99]"; } + if ($ShowFileTypesStats =~ /C/i) { print "$Message[100]$Message[101]$Message[99]"; } print "\n"; my $total_con=0; my $total_cre=0; my $count=0; diff --git a/wwwroot/cgi-bin/lib/mime.pm b/wwwroot/cgi-bin/lib/mime.pm index d34ccbb2..49103ba5 100644 --- a/wwwroot/cgi-bin/lib/mime.pm +++ b/wwwroot/cgi-bin/lib/mime.pm @@ -13,26 +13,26 @@ # List of mime's label ("mime id in lower case", "mime text") #--------------------------------------------------------------- %MimeHashLib = ( -'text','Text file', -'page','HTML or XML static page', -'script','Dynamic Html page or Script file', -'image','Image', -'document','Document', -'package','Package', -'archive','Archive', -'audio','Audio', -'video','Video', +'text', 'Text file', +'page', 'HTML or XML static page', +'script', 'Dynamic Html page or Script file', +'image', 'Image', +'document', 'Document', +'package', 'Package', +'archive', 'Archive', +'audio', 'Audio', +'video', 'Video', 'javascript','Javascript file', -'vbs','Visual Basic script', -'conf','Config file', -'css','Cascading Style Sheet file', -'xsl','Extensible Stylesheet Language file', -'runtime','HTML dynamic page or Binary runtime', -'library','Binary library', -'swf','Macromedia Flash Animation', -'dtd','Document Type Definition', -'csv','Comma Separated Value file', -'jnlp','Java Web Start launch file', +'vbs', 'Visual Basic script', +'conf', 'Config file', +'css', 'Cascading Style Sheet file', +'xsl', 'Extensible Stylesheet Language file', +'runtime', 'HTML dynamic page or Binary runtime', +'library', 'Binary library', +'swf', 'Macromedia Flash Animation', +'dtd', 'Document Type Definition', +'csv', 'Comma Separated Value file', +'jnlp', 'Java Web Start launch file', ); # MimeHashIcon