mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
fix well known bug
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5165 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
05bb529e80
commit
5a173c8a33
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ init_userprefs($userdata);
|
|||
|
||||
if (!$userdata['session_logged_in'])
|
||||
{
|
||||
redirect(append_sid("login.$phpEx?redirect=admin/", true));
|
||||
redirect(append_sid("login.$phpEx?redirect=admin/index.$phpEx", true));
|
||||
}
|
||||
else if ($userdata['user_level'] != ADMIN)
|
||||
{
|
||||
|
@ -61,7 +61,7 @@ if ($HTTP_GET_VARS['sid'] != $userdata['session_id'])
|
|||
|
||||
if (!$userdata['session_admin'])
|
||||
{
|
||||
redirect(append_sid("login.$phpEx?redirect=admin/&admin=1", true));
|
||||
redirect(append_sid("login.$phpEx?redirect=admin/index.$phpEx&admin=1", true));
|
||||
}
|
||||
|
||||
if (empty($no_page_header))
|
||||
|
|
Loading…
Add table
Reference in a new issue