diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-03-04 06:19:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-03-04 06:19:01 +0000 |
commit | f4cdeb1f5a78633b2ed7d42a5dba411fabea1b94 (patch) | |
tree | e5f026c5e0a513dacf208af44eebd701ba3a767b | |
parent | db9d4424831cccedef24d9a15c0f7b25de2dee5b (diff) | |
download | brdo-f4cdeb1f5a78633b2ed7d42a5dba411fabea1b94.tar.gz brdo-f4cdeb1f5a78633b2ed7d42a5dba411fabea1b94.tar.bz2 |
- 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.
-rw-r--r-- | includes/common.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/common.inc b/includes/common.inc index 3f92644b1..4dbcd9cda 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 |