aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/page_tail.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-08 15:56:58 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-08 15:56:58 +0000
commit8047e0d9c9545b89de29978e45ffc5fd595f18fa (patch)
treec935d253ef0a388b3b3ebe94ac1dc33accb25ad8 /phpBB/includes/page_tail.php
parent3497f2adab9fb2e05afb584c1eb3904cb3dba17f (diff)
downloadforums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.tar
forums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.tar.gz
forums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.tar.bz2
forums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.tar.xz
forums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.zip
Number of queries executed ... for testing only
git-svn-id: file:///svn/phpbb/trunk@603 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/page_tail.php')
-rw-r--r--phpBB/includes/page_tail.php13
1 files changed, 6 insertions, 7 deletions
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
@@ -42,12 +42,6 @@ $template->assign_vars(array(
$template->pparse("overall_footer");
//
-// Close our DB connection.
-//
-$db->sql_close();
-
-
-//
// Output page creation time
//
$mtime = microtime();
@@ -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