From c76d9cf8b11cdc731156b33d3b3963da4fb85cce Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 17 Jul 2005 21:33:51 +0000 Subject: [PATCH] no need to instanciate the session object twice --- login.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/login.php b/login.php index 96e721a26f..0626febe6b 100755 --- a/login.php +++ b/login.php @@ -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;