From dc99222cf3f4ac3bf73873578a47c2de489008cb Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 11 Jul 2001 16:07:58 +0000 Subject: [PATCH] GZIP status output git-svn-id: file:///svn/phpbb/trunk@628 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/page_tail.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/page_tail.php b/phpBB/includes/page_tail.php index adf403bd6b..f5a22e4203 100644 --- a/phpBB/includes/page_tail.php +++ b/phpBB/includes/page_tail.php @@ -50,7 +50,9 @@ $mtime = $mtime[1] + $mtime[0]; $endtime = $mtime; $totaltime = ($endtime - $starttime); -printf("
phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed
", $totaltime); +$gzip_text = ($board_config['gzip_compress']) ? "GZIP compression enabled" : "GZIP compression disabled"; + +printf("
phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text
", $totaltime); // // Close our DB connection.