mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/11336] Adds 301 info to redirect
PHPBB3-11336
This commit is contained in:
@@ -32,7 +32,8 @@ $topic_id = request_var('t', 0);
|
|||||||
// Redirect when old mode is used
|
// Redirect when old mode is used
|
||||||
if ($mode == 'leaders')
|
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...
|
// Check our mode...
|
||||||
|
Reference in New Issue
Block a user