From 0077cb99704fe863cf731fc5cab792af2ede96c2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 17 Apr 2011 20:13:07 -0400 Subject: Backporting retarded amount of changes outside of version control --- themes/throwback/footer.php | 64 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 themes/throwback/footer.php (limited to 'themes/throwback/footer.php') diff --git a/themes/throwback/footer.php b/themes/throwback/footer.php new file mode 100644 index 0000000..72ddb3a --- /dev/null +++ b/themes/throwback/footer.php @@ -0,0 +1,64 @@ +. + */ + +$phpversion = preg_replace('/[a-z-]/', '', phpversion()); +$mtime = explode(' ', microtime()); +$totaltime = $mtime[0] + $mtime[1] - $starttime; +$debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) peak(%.3fmb) | PHP: %s
Connections: %d | Queries: %d | Fetches: %d | Frees: %d
\n", + $totaltime, ((float)memory_get_usage()/1024/1024), ((float)memory_get_peak_usage()/1024/1024), $phpversion, $db_connections, $db_queries, $db_fetches, $db_frees); +?> + + + + + + + + + + + + -- cgit