forked from extern/egroupware
Allow Template class to be disabled
This commit is contained in:
parent
c5a72a8bc2
commit
17b5416f42
@ -429,7 +429,10 @@
|
|||||||
/*************************************************************************\
|
/*************************************************************************\
|
||||||
* These lines load up the templates class *
|
* 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 *
|
* These lines load up the themes *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user