added content type meta tag

This commit is contained in:
JT Smith 2003-05-24 17:34:12 +00:00
parent 689b987189
commit 2c0d7e3b13

View file

@ -65,6 +65,7 @@ sub get {
my $type = lc($session{setting}{siteicon});
$type =~ s/.*\.(.*?)$/$1/;
$header .= '</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset='.($session{header}{charset}||$session{language}{characterSet}||"ISO-8859-1").'">
<link REL="icon" HREF="'.$session{setting}{siteicon}.'" TYPE="image/'.$type.'">
<LINK REL="SHORTCUT ICON" HREF="'.$session{setting}{favicon}.'">
'.$style{styleSheet}.$session{page}{metaTags};