mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11336] Adds 301 info to redirect
PHPBB3-11336
This commit is contained in:
parent
38d2efe829
commit
28f17897b4
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ $topic_id = request_var('t', 0);
|
|||
// Redirect when old mode is used
|
||||
if ($mode == 'leaders')
|
||||
{
|
||||
redirect(append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=team'));
|
||||
send_status_line(301, 'Moved Permanently');
|
||||
redirect(append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=team'));
|
||||
}
|
||||
|
||||
// Check our mode...
|
||||
|
|
Loading…
Add table
Reference in a new issue