- 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.
4.2.x
Dries Buytaert 2003-03-04 06:19:01 +00:00
parent db9d442483
commit f4cdeb1f5a
1 changed files with 4 additions and 4 deletions

View File

@ -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");
?>
?>