charset header to overwrite apaches AddDefaultCharset

This commit is contained in:
Ralf Becker 2004-06-15 08:03:15 +00:00
parent baa212c22a
commit 5140181bba

View File

@ -113,6 +113,9 @@
function show_header($title='',$nologoutbutton=False, $logoutfrom='config', $configdomain='')
{
// add a content-type header to overwrite an existing default charset in apache (AddDefaultCharset directiv)
header('Content-type: text/html; charset='.lang('charset'));
$GLOBALS['setup_tpl']->set_var('charset',lang('charset'));
$style = array(
'th_bg' => '#486591',