using a (dummy) egw object instead the new one with all the session stuff

This commit is contained in:
Ralf Becker 2005-07-20 12:46:59 +00:00
parent d933e70c72
commit 16bb85a6cc

View File

@ -16,6 +16,12 @@
/* $Id$ */
class egw_dummy {
var $db;
var $common;
var $accounts;
}
class setup
{
var $db;
@ -880,9 +886,9 @@
{
$GLOBALS['egw_info']['server'][$this->db->f('config_name')] = $this->db->f('config_value');
}
if (!is_object($GLOBALS['egw']))
//if (!is_object($GLOBALS['egw']))
{
$GLOBALS['egw'] =& CreateObject('phpgwapi.egw');
$GLOBALS['egw'] =& new egw_dummy();
$GLOBALS['phpgw'] =& $GLOBALS['egw'];
}
$GLOBALS['egw']->db = clone($this->db);