mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Number of queries executed ... for testing only
git-svn-id: file:///svn/phpbb/trunk@603 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -41,12 +41,6 @@ $template->assign_vars(array(
|
||||
|
||||
$template->pparse("overall_footer");
|
||||
|
||||
//
|
||||
// Close our DB connection.
|
||||
//
|
||||
$db->sql_close();
|
||||
|
||||
|
||||
//
|
||||
// Output page creation time
|
||||
//
|
||||
@@ -56,7 +50,12 @@ $mtime = $mtime[1] + $mtime[0];
|
||||
$endtime = $mtime;
|
||||
$totaltime = ($endtime - $starttime);
|
||||
|
||||
printf("<center><font size=-2>phpBB Created this page in %f seconds.</font></center>", $totaltime);
|
||||
printf("<center><font size=-2>phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed</font></center>", $totaltime);
|
||||
|
||||
//
|
||||
// Close our DB connection.
|
||||
//
|
||||
$db->sql_close();
|
||||
|
||||
//
|
||||
// Compress buffered output if required
|
||||
|
Reference in New Issue
Block a user