mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/15973] Add canonical URL for index
PHPBB3-15973
This commit is contained in:
parent
2d3781f285
commit
88dcb5d3d5
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ $template->assign_vars(array(
|
|||
'S_DISPLAY_BIRTHDAY_LIST' => $show_birthdays,
|
||||
'S_INDEX' => true,
|
||||
|
||||
'U_CANONICAL' => generate_board_url() . '/',
|
||||
'U_MARK_FORUMS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums&mark_time=' . time()) : '',
|
||||
'U_MCP' => ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $user->session_id) : '')
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue