forked from extern/egroupware
fix 404 Not Found / wrong redirect after expired/no longer existing eT2 session
This commit is contained in:
parent
af33cec90d
commit
a5fbb5c4ef
@ -217,7 +217,7 @@ class Request
|
||||
if (strpos($_GET['menuaction'], '.ajax_destroy_session.etemplate') === false)
|
||||
{
|
||||
$response = Api\Json\Response::get();
|
||||
$response->redirect($index_url, $global, $app);
|
||||
$response->redirect(Api\Framework::link($index_url), $global, $app);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -577,4 +577,4 @@ class Request
|
||||
{
|
||||
$this->remove_if_not_modified = true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user