aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/index.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index a477a876ad..87b0adeafd 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -171,8 +171,15 @@ $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'];
+
+$vars = array('page_title');
+$event = new phpbb_event_data(compact($vars));
+$phpbb_dispatcher->dispatch('core.index', $event);
+extract($event->get_data_filtered($vars));
+
// Output page
-page_header($user->lang['INDEX']);
+page_header($page_title);
$template->set_filenames(array(
'body' => 'index_body.html')