mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
"also check if the required classes are set for the session restore, fixes a problem with groupdav"
This commit is contained in:
parent
3ef9def241
commit
92c1bf9bfa
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user