aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCrizzo <mail@crizzo.de>2014-03-24 21:43:30 +0100
committerCrizzo <mail@crizzo.de>2014-03-28 19:36:12 +0100
commit28f17897b48f7ec06958eda30cbceafaec907002 (patch)
tree47510fb01ebdec6e056f5b41e18b194ce4319d8e
parent38d2efe829e3cc98796eacf37f62e05d7b3dc5db (diff)
downloadforums-28f17897b48f7ec06958eda30cbceafaec907002.tar
forums-28f17897b48f7ec06958eda30cbceafaec907002.tar.gz
forums-28f17897b48f7ec06958eda30cbceafaec907002.tar.bz2
forums-28f17897b48f7ec06958eda30cbceafaec907002.tar.xz
forums-28f17897b48f7ec06958eda30cbceafaec907002.zip
[ticket/11336] Adds 301 info to redirect
PHPBB3-11336
-rw-r--r--phpBB/memberlist.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 8fdb7f0a07..df47fd2f4b 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -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...