From: eldy <> Date: Mon, 29 Sep 2003 17:04:01 +0000 (+0000) Subject: Prepare code for decodeUTFkeys plugin. X-Git-Tag: AWSTATS_6_0_BETA~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88de9f02c5ca307a03bb84ee80bed2b6fd690fc3;p=thirdparty%2FAWStats.git Prepare code for decodeUTFkeys plugin. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index f87a95cd..9a884c69 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -513,11 +513,8 @@ sub html_head { else { print "\n"; } # Affiche tag meta content-type - if ($PageCode) { print ($ENV{'HTTP_USER_AGENT'}=~/MSIE|Googlebot/i?"\n":"\n"); } - else { print ($ENV{'HTTP_USER_AGENT'}=~/MSIE|Googlebot/i?"\n":"\n"); }; - #else { print "\n"; } - #else { print "\n"; } - + print ((! $UseXml || $ENV{'HTTP_USER_AGENT'}=~/MSIE|Googlebot/i)?"\n":"\n"); + if ($Expires) { print "\n"; } print "\n"; if ($AllowIndex && $FrameName ne 'mainleft') { print "\n"; } @@ -528,7 +525,8 @@ sub html_head { print "