mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-04 19:51:39 +02:00
Added exit's after those header location redirects without them
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2575 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -67,6 +67,7 @@ if( isset($HTTP_POST_VARS['login']) || isset($HTTP_GET_VARS['login']) || isset($
|
||||
if( $row['user_level'] != ADMIN && $board_config['board_disable'] )
|
||||
{
|
||||
header($header_location . append_sid("index.$phpEx", true));
|
||||
exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -81,10 +82,12 @@ if( isset($HTTP_POST_VARS['login']) || isset($HTTP_GET_VARS['login']) || isset($
|
||||
if( !empty($HTTP_POST_VARS['redirect']) )
|
||||
{
|
||||
header($header_location . append_sid($HTTP_POST_VARS['redirect'], true));
|
||||
exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
header($header_location . append_sid("index.$phpEx", true));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -129,10 +132,12 @@ if( isset($HTTP_POST_VARS['login']) || isset($HTTP_GET_VARS['login']) || isset($
|
||||
if( !empty($HTTP_POST_VARS['redirect']) )
|
||||
{
|
||||
header($header_location . append_sid($HTTP_POST_VARS['redirect'], true));
|
||||
exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
header($header_location . append_sid("index.$phpEx", true));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -140,10 +145,12 @@ if( isset($HTTP_POST_VARS['login']) || isset($HTTP_GET_VARS['login']) || isset($
|
||||
if( !empty($HTTP_POST_VARS['redirect']) )
|
||||
{
|
||||
header($header_location . append_sid($HTTP_POST_VARS['redirect'], true));
|
||||
exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
header($header_location . append_sid("index.$phpEx", true));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -224,6 +231,7 @@ else
|
||||
else
|
||||
{
|
||||
header($header_location . append_sid("index.$phpEx", true));
|
||||
exit;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user