From 1f0565806b1809b4c0c0a157f7fbfb4ac611e16a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 15 Apr 2001 17:01:32 +0000 Subject: - improved submit.php: it now uses the new category code, incl content bindings. You can setup different "categories" which map on a content type. Example: review -> review.module article -> story.module column -> story.module announc. -> story.module addons -> file.module themes -> file.module - "generalised" story.module and book.module's output. - fixed bug in includes/timer.inc - fixed glitch in theme example.theme: it said "$how by" but the variable $how has never been declared. - added "drupal development settings" to display some timings - more work on the categories/topics -> does NOT work yet --- includes/timer.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/timer.inc') diff --git a/includes/timer.inc b/includes/timer.inc index 7e2e9d21a..e6740f366 100644 --- a/includes/timer.inc +++ b/includes/timer.inc @@ -5,7 +5,7 @@ $timer = 0; function timer_print() { global $timer; $stop = explode(" ", microtime()); - $diff = $timer[0] - $stop[0]; + $diff = $stop[0] - $timer[0]; print "
execution time: $diff ms
"; } -- cgit v1.2.3