Allow Template class to be disabled

This commit is contained in:
Miles Lott 2001-07-16 06:24:17 +00:00
parent c5a72a8bc2
commit 17b5416f42

View File

@ -429,7 +429,10 @@
/*************************************************************************\
* These lines load up the templates class *
\*************************************************************************/
$phpgw->template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
if(!$phpgw_info['flags']['disable_Template_class'])
{
$phpgw->template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
}
/*************************************************************************\
* These lines load up the themes *