1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-23 10:01:55 +02:00

[ticket/13647] Send 301 status

PHPBB3-13647
This commit is contained in:
Joas Schilling
2015-02-22 22:44:31 +01:00
parent 0595ab959c
commit 9bd6535a7d

View File

@@ -27,5 +27,5 @@ $user->setup();
/** @var \phpbb\controller\helper $controller_helper */ /** @var \phpbb\controller\helper $controller_helper */
$controller_helper = $phpbb_container->get('controller.helper'); $controller_helper = $phpbb_container->get('controller.helper');
// TODO send "Moved permanently" header send_status_line(301, 'Moved Permanently');
redirect($controller_helper->route('phpbb_help_controller', array('mode' => $request->variable('mode', 'faq')))); redirect($controller_helper->route('phpbb_help_controller', array('mode' => $request->variable('mode', 'faq'))));