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;