1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/12687] Remove globals

PHPBB3-12687
This commit is contained in:
Tristan Darricau
2014-06-12 23:27:19 +02:00
parent ceef85ee0e
commit 6c0fd61b1d
2 changed files with 8 additions and 12 deletions

View File

@@ -146,10 +146,10 @@ function adm_page_footer($copyright_html = true)
return;
}
phpbb_check_and_display_sql_report();
phpbb_check_and_display_sql_report($request, $auth, $db);
$template->assign_vars(array(
'DEBUG_OUTPUT' => phpbb_generate_debug_output(),
'DEBUG_OUTPUT' => phpbb_generate_debug_output($db, $config, $auth, $user),
'TRANSLATION_INFO' => (!empty($user->lang['TRANSLATION_INFO'])) ? $user->lang['TRANSLATION_INFO'] : '',
'S_COPYRIGHT_HTML' => $copyright_html,
'CREDIT_LINE' => $user->lang('POWERED_BY', '<a href="https://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Limited'),