mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
add header for content type
This commit is contained in:
parent
afd3ba4a95
commit
3034363c13
@ -18,9 +18,12 @@
|
|||||||
'currentapp' => 'home', // resolves to phpgwapi, which is not allowed itself
|
'currentapp' => 'home', // resolves to phpgwapi, which is not allowed itself
|
||||||
'enable_nextmatchs_class' => True
|
'enable_nextmatchs_class' => True
|
||||||
);
|
);
|
||||||
|
|
||||||
include('../header.inc.php');
|
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';
|
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'addressbook';
|
||||||
include('templates/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'].'/head.inc.php');
|
include('templates/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'].'/head.inc.php');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user