1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +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:
Paul S. Owen
2001-07-08 15:56:58 +00:00
parent 3497f2adab
commit 8047e0d9c9
6 changed files with 21 additions and 8 deletions

View File

@@ -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