fix 404 Not Found / wrong redirect after expired/no longer existing eT2 session

This commit is contained in:
ralf 2022-07-05 08:43:53 +02:00
parent af33cec90d
commit a5fbb5c4ef

View File

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