From f4cdeb1f5a78633b2ed7d42a5dba411fabea1b94 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 4 Mar 2003 06:19:01 +0000 Subject: [PATCH] - Calls set_error_handler("error_handler") before locale_init() / theme_init() so that errors happening there will be handled and don't result in warnings printed. Patch by Ax. --- includes/common.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index 3f92644b12d..4dbcd9cdab7 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -928,13 +928,13 @@ $conf = variable_init(isset($conf) ? $conf : array()); // initialize installed modules: module_init(); +// set error handler: +set_error_handler("error_handler"); + // initialize localization system: $locale = locale_init(); // initialize theme: $theme = theme_init(); -// set error handler: -set_error_handler("error_handler"); - -?> +?> \ No newline at end of file