|
From: Paul S. O. <ps...@us...> - 2002-04-04 21:50:33
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv30417/includes
Modified Files:
page_tail.php
Log Message:
Update a few things for 2.1 CVS
Index: page_tail.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_tail.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** page_tail.php 4 Apr 2002 11:53:13 -0000 1.27
--- page_tail.php 4 Apr 2002 21:50:29 -0000 1.28
***************
*** 49,52 ****
--- 49,66 ----
//
+ // Output page creation time
+ //
+ $mtime = microtime();
+ $mtime = explode(' ',$mtime);
+ $mtime = $mtime[1] + $mtime[0];
+ $endtime = $mtime;
+ $totaltime = ($endtime - $starttime);
+
+ $gzip_text = ($board_config['gzip_compress']) ? "GZIP compression enabled" : "GZIP compression disabled";
+ $debug_mode = (DEBUG) ? " : Debug Mode" : "";
+
+ printf("<br /><center><font size=\"-2\">phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text".$debug_mode."</font></center>", $totaltime);
+
+ //
// Compress buffered output if required and send to browser
//
|