summaryrefslogtreecommitdiff
path: root/includes/timer.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-04-15 17:01:32 +0000
committerDries Buytaert <dries@buytaert.net>2001-04-15 17:01:32 +0000
commit1f0565806b1809b4c0c0a157f7fbfb4ac611e16a (patch)
tree85448501218986cca7db81f7ee5f0d3e9f3b7f5d /includes/timer.inc
parentf1716fbd9c4fee630fc091d8d9dc87cd105d77da (diff)
downloadbrdo-1f0565806b1809b4c0c0a157f7fbfb4ac611e16a.tar.gz
brdo-1f0565806b1809b4c0c0a157f7fbfb4ac611e16a.tar.bz2
- 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
Diffstat (limited to 'includes/timer.inc')
-rw-r--r--includes/timer.inc2
1 files changed, 1 insertions, 1 deletions
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 "<PRE>execution time: $diff ms</PRE>";
}