1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-18 22:58:10 +01:00

Merge pull request #3161 from Crizz0/ticket/12885

[ticket/12885] New if for Index-page - board-index-text switch
This commit is contained in:
Joas Schilling 2014-11-22 11:35:51 +01:00
commit e283611dc2

View File

@ -185,7 +185,7 @@ $template->assign_vars(array(
'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) : '')
);
$page_title = $user->lang['INDEX'];
$page_title = ($config['board_index_text'] !== '') ? $config['board_index_text'] : $user->lang['INDEX'];
/**
* You can use this event to modify the page title and load data for the index