Don't create global template object

This commit is contained in:
Miles Lott 2004-01-10 22:54:35 +00:00
parent 5f0e3a5e15
commit d6c316e857

View File

@ -13,7 +13,10 @@
/* $Id$ */
$phpgw_info = array();
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'preferences';
$GLOBALS['phpgw_info']['flags'] = array(
'currentapp' => 'preferences',
'disable_Template_class' => True
);
include('../header.inc.php');
$pref_tpl = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);