mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-01 19:09:30 +01:00
no need to instanciate the session object twice
This commit is contained in:
parent
f99f2ef4e8
commit
c76d9cf8b1
@ -25,11 +25,7 @@
|
||||
if(file_exists('./header.inc.php'))
|
||||
{
|
||||
include('./header.inc.php');
|
||||
if(function_exists('CreateObject'))
|
||||
{
|
||||
$GLOBALS['egw']->session =& CreateObject('phpgwapi.sessions',array_keys($GLOBALS['egw_domain']));
|
||||
}
|
||||
else
|
||||
if(!function_exists('CreateObject'))
|
||||
{
|
||||
Header('Location: setup/index.php');
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user