From 8047e0d9c9545b89de29978e45ffc5fd595f18fa Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 8 Jul 2001 15:56:58 +0000 Subject: Number of queries executed ... for testing only git-svn-id: file:///svn/phpbb/trunk@603 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/page_tail.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'phpBB/includes/page_tail.php') diff --git a/phpBB/includes/page_tail.php b/phpBB/includes/page_tail.php index 7913a1c697..adf403bd6b 100644 --- a/phpBB/includes/page_tail.php +++ b/phpBB/includes/page_tail.php @@ -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("
phpBB Created this page in %f seconds.
", $totaltime); +printf("
phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed
", $totaltime); + +// +// Close our DB connection. +// +$db->sql_close(); // // Compress buffered output if required -- cgit v1.2.1