From a56f7b84e300e7b3c795b2d55e697b77ba98afe9 Mon Sep 17 00:00:00 2001 From: Juan Basso Date: Sat, 31 Mar 2012 20:24:49 -0400 Subject: [PATCH] Setting the core fatal error handler if it is not configured. --- lib/Cake/Core/App.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Cake/Core/App.php b/lib/Cake/Core/App.php index b62e66010..16b1c0db4 100644 --- a/lib/Cake/Core/App.php +++ b/lib/Cake/Core/App.php @@ -914,6 +914,9 @@ class App { } $fatalErrorHandler = Configure::read('Error.fatalErrorHandler'); + if ($fatalErrorHandler === null) { + $fatalErrorHandler = 'ErrorHandler::handleFatalError'; + } if (!is_callable($fatalErrorHandler)) { return; }