- 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
parent
db9d442483
commit
f4cdeb1f5a
|
@ -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");
|
||||
|
||||
?>
|
Loading…
Reference in New Issue