no need to instanciate the session object twice

This commit is contained in:
Ralf Becker 2005-07-17 21:33:51 +00:00
parent f99f2ef4e8
commit c76d9cf8b1

View File

@ -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;