mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 20:24:08 +02:00
- fixed notification redirection
- added SID to ucp redirects git-svn-id: file:///svn/phpbb/trunk@4915 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -321,16 +321,16 @@ switch ($mode)
|
||||
// We destroy the session here, the user will be logged out nevertheless
|
||||
$user->destroy();
|
||||
|
||||
meta_refresh(3, "{$phpbb_root_path}index.$phpEx");
|
||||
meta_refresh(3, "{$phpbb_root_path}index.$phpEx$SID");
|
||||
|
||||
$message = $user->lang['COOKIES_DELETED'] . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], "<a href=\"{$phpbb_root_path}index.$phpEx\">", '</a>');
|
||||
$message = $user->lang['COOKIES_DELETED'] . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], "<a href=\"{$phpbb_root_path}index.$phpEx$SID\">", '</a>');
|
||||
trigger_error($message);
|
||||
}
|
||||
else
|
||||
{
|
||||
confirm_box(false, 'DELETE_COOKIES', '');
|
||||
}
|
||||
redirect("index.$phpEx");
|
||||
redirect("index.$phpEx$SID");
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -340,7 +340,7 @@ if ($user->data['user_id'] == ANONYMOUS || $user->data['user_type'] == USER_INAC
|
||||
{
|
||||
if ($user->data['user_id'] != ANONYMOUS)
|
||||
{
|
||||
redirect("index.$phpEx");
|
||||
redirect("index.$phpEx$SID");
|
||||
}
|
||||
|
||||
login_box($user->cur_page, '', $user->lang['LOGIN_EXPLAIN_UCP']);
|
||||
|
Reference in New Issue
Block a user