]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fixed pb in meta tag.
authoreldy <>
Sat, 19 Oct 2002 17:46:27 +0000 (17:46 +0000)
committereldy <>
Sat, 19 Oct 2002 17:46:27 +0000 (17:46 +0000)
wwwroot/cgi-bin/awstats.pl

index 128c515b8c2a422f2634dce924893b528a363ed8..500fa3dd7bf66ac842a5573b7809a660d09911ab 100644 (file)
@@ -525,7 +525,8 @@ sub html_head {
                else { print "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\">\n\n"; }
                print "<html lang='$Lang'>\n";
                print "<head>\n";
-               if ($PageCode) { print "<META HTTP-EQUIV=\"content-type\" CONTENT=\"text/html; charset=$PageCode\"\n"; }                # If not defined, iso-8859-1 is used in major countries
+               if ($PageCode) { print "<META HTTP-EQUIV=\"content-type\" CONTENT=\"text/html; charset=$PageCode\">\n"; }               # If not defined, iso-8859-1 is used in major countries
+               #else { print "<META HTTP-EQUIV=\"content-type\" CONTENT=\"text/html; charset=iso-8859-1\">\n"; }
                if ($Expires)  { print "<META HTTP-EQUIV=\"expires\" CONTENT=\"".(gmtime(time()+$Expires))."\">\n"; }
                print "<meta http-equiv=\"description\" content=\"".ucfirst($PROG)." - Advanced Web Statistics for $SiteDomain\">\n";
                if ($FrameName ne "mainleft") { print "<meta http-equiv=\"keywords\" content=\"$SiteDomain, free, advanced, realtime, web, server, logfile, log, analyzer, analysis, statistics, stats, perl, analyse, performance, hits, visits\">\n"; }