"also check if the required classes are set for the session restore, fixes a problem with groupdav"

This commit is contained in:
Ralf Becker 2008-04-22 10:11:49 +00:00
parent 3ef9def241
commit 92c1bf9bfa

View File

@ -66,7 +66,7 @@ if ($GLOBALS['egw_info']['server']['sessions_type'] == 'php4-restore' && $_REQUE
if ($GLOBALS['egw_info']['flags']['currentapp'] != 'login' && $GLOBALS['egw_info']['flags']['currentapp'] != 'logout') if ($GLOBALS['egw_info']['flags']['currentapp'] != 'login' && $GLOBALS['egw_info']['flags']['currentapp'] != 'logout')
{ {
if (is_array($_SESSION['egw_info_cache']) && $_SESSION['egw_object_cache']) if (is_array($_SESSION['egw_info_cache']) && $_SESSION['egw_object_cache'] && $_SESSION['egw_required_files'])
{ {
// marking the context as restored from the session, used by session->verify to not read the data from the db again // marking the context as restored from the session, used by session->verify to not read the data from the db again
$GLOBALS['egw_info']['flags']['restored_from_session'] = true; $GLOBALS['egw_info']['flags']['restored_from_session'] = true;