Commit f4cdeb1f authored by Dries's avatar Dries

- 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.
parent db9d4424
......@@ -928,13 +928,13 @@ function page_footer() {
// 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment