mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +01:00
Don't create global template object
This commit is contained in:
parent
5f0e3a5e15
commit
d6c316e857
@ -13,7 +13,10 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$phpgw_info = array();
|
$phpgw_info = array();
|
||||||
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'preferences';
|
$GLOBALS['phpgw_info']['flags'] = array(
|
||||||
|
'currentapp' => 'preferences',
|
||||||
|
'disable_Template_class' => True
|
||||||
|
);
|
||||||
include('../header.inc.php');
|
include('../header.inc.php');
|
||||||
|
|
||||||
$pref_tpl = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
$pref_tpl = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
||||||
|
Loading…
Reference in New Issue
Block a user