mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 11:51:43 +02: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'))
|
if(file_exists('./header.inc.php'))
|
||||||
{
|
{
|
||||||
include('./header.inc.php');
|
include('./header.inc.php');
|
||||||
if(function_exists('CreateObject'))
|
if(!function_exists('CreateObject'))
|
||||||
{
|
|
||||||
$GLOBALS['egw']->session =& CreateObject('phpgwapi.sessions',array_keys($GLOBALS['egw_domain']));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
Header('Location: setup/index.php');
|
Header('Location: setup/index.php');
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user