mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:57 +01:00
as agreed in the devel-days: no more CreateObject in new code, also fixes problems with the session restore
This commit is contained in:
parent
baf3f4bd7f
commit
1793dd8899
@ -15,6 +15,7 @@
|
||||
require_once(EGW_API_INC.'/class.egw_framework.inc.php');
|
||||
require_once(EGW_API_INC.'/class.Template.inc.php');
|
||||
require_once(EGW_API_INC.'/class.dragdrop.inc.php');
|
||||
require_once(EGW_API_INC.'/class.tplsavant2.inc.php');
|
||||
|
||||
/**
|
||||
* eGW idots template
|
||||
@ -56,7 +57,7 @@ class idots_framework extends egw_framework
|
||||
$GLOBALS['egw_info']['flags']['include_xajax'] = True;
|
||||
$this->egw_framework($template); // call the constructor of the extended class
|
||||
|
||||
$this->tplsav2 = CreateObject('phpgwapi.tplsavant2');
|
||||
$this->tplsav2 =& new tplsavant2();
|
||||
$this->tplsav2->set_tpl_path(EGW_SERVER_ROOT.SEP.'phpgwapi'.SEP.'templates'.SEP.'idots');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user