diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-15 17:56:37 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-15 17:56:37 +0000 |
| commit | 8022b6f6b21017d2016121c41f48a15fdbc9a404 (patch) | |
| tree | 04703322b631b28a20c27e9fb6f634fdaa8be55a /phpBB/ucp.php | |
| parent | 6aa372226e045b7db68d7066f60dba50151c1f60 (diff) | |
| download | forums-8022b6f6b21017d2016121c41f48a15fdbc9a404.tar forums-8022b6f6b21017d2016121c41f48a15fdbc9a404.tar.gz forums-8022b6f6b21017d2016121c41f48a15fdbc9a404.tar.bz2 forums-8022b6f6b21017d2016121c41f48a15fdbc9a404.tar.xz forums-8022b6f6b21017d2016121c41f48a15fdbc9a404.zip | |
- fixed notification redirection
- added SID to ucp redirects
git-svn-id: file:///svn/phpbb/trunk@4915 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/ucp.php')
| -rwxr-xr-x | phpBB/ucp.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php index e49566b00e..596e345fad 100755 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -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']); |
