summaryrefslogtreecommitdiff
path: root/index.php
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 /index.php
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 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 1e4433283..d86ebe81f 100644
--- a/index.php
+++ b/index.php
@@ -2,6 +2,8 @@
include_once "includes/common.inc";
+if (variable_get(dev_timing, 0)) timer_start();
+
// Initialize/pre-process variables:
$number = ($user->nodes) ? $user->nodes : 10;
$date = ($date > 0) ? $date : time();
@@ -14,4 +16,6 @@ $theme->header();
while ($story = db_fetch_object($result)) $theme->story($story);
$theme->footer();
+if (variable_get(dev_timing, 0)) timer_print();
+
?>