add header for content type

This commit is contained in:
Lars Kneschke 2004-06-16 06:39:18 +00:00
parent afd3ba4a95
commit 3034363c13

View File

@ -21,6 +21,9 @@
include('../header.inc.php');
// add a content-type header to overwrite an existing default charset in apache (AddDefaultCharset directiv)
header('Content-type: text/html; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'addressbook';
include('templates/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'].'/head.inc.php');