summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-05-06 17:19:58 +0000
committerDries Buytaert <dries@buytaert.net>2001-05-06 17:19:58 +0000
commit25c379fb6114ce990d239db607f628e283064a27 (patch)
treef51f08a211f745e609065899ae73c93a76bb5221 /index.php
parentbe8e898d23a3f9ca515f59fbcc8d82e112ed7ee8 (diff)
downloadbrdo-25c379fb6114ce990d239db607f628e283064a27.tar.gz
brdo-25c379fb6114ce990d239db607f628e283064a27.tar.bz2
- Added custom PHP error handler to track down warnings and errors.
(Jeroen: let's sit back and wait until that warning bites again.) - Simplified drupal.module. We still need a feature list, anyone?
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 78e42599f..f8c5a547d 100644
--- a/index.php
+++ b/index.php
@@ -2,7 +2,7 @@
include_once "includes/common.inc";
-if (variable_get(dev_timing, 0)) timer_start();
+if (variable_get("dev_timing", 0)) timer_start();
$result = db_query("SELECT nid FROM node WHERE promote = '1' AND status = '$status[posted]' AND timestamp <= ". ($date > 0 ? $date : time()) ." ". ($category ? "AND cid = '$category'" : "") ." ". ($topic ? "AND tid = '$topic'" : "") ." ORDER BY timestamp DESC LIMIT ". ($user->nodes ? $user->nodes : variable_get(default_nodes_main, 10)));
@@ -12,6 +12,6 @@ while ($node = db_fetch_object($result)) {
}
$theme->footer();
-if (variable_get(dev_timing, 0)) timer_print();
+if (variable_get("dev_timing", 0)) timer_print();
?>