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:
@@ -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'))));
|
||||||
|
Reference in New Issue
Block a user