aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2015-02-22 23:36:27 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-08-23 22:36:10 +0200
commit8e5e954438b232f4ce7aec6a5db3d52b974c07a8 (patch)
tree26eb33e968d8b7a48f40bb092b751a1a708a8f59 /phpBB/includes/functions.php
parentf56fe0ba8da2211d3947369e79952f294cffe7d6 (diff)
downloadforums-8e5e954438b232f4ce7aec6a5db3d52b974c07a8.tar
forums-8e5e954438b232f4ce7aec6a5db3d52b974c07a8.tar.gz
forums-8e5e954438b232f4ce7aec6a5db3d52b974c07a8.tar.bz2
forums-8e5e954438b232f4ce7aec6a5db3d52b974c07a8.tar.xz
forums-8e5e954438b232f4ce7aec6a5db3d52b974c07a8.zip
[ticket/13645] Move the feeds to controllers
PHPBB3-13645
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index c6d63e13f4..56068242dd 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4351,7 +4351,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
'U_TERMS_USE' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=terms'),
'U_PRIVACY' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy'),
'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '',
- 'U_FEED' => generate_board_url() . "/feed.$phpEx",
+ 'U_FEED' => $controller_helper->route('phpbb_feed_index'),
'S_USER_LOGGED_IN' => ($user->data['user_id'] != ANONYMOUS) ? true : false,
'S_AUTOLOGIN_ENABLED' => ($config['allow_autologin']) ? true : false,