From 534291a1a65857b231c2cc26d4160eae1be0b49c Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 29 Sep 2011 20:36:11 -0400 Subject: [PATCH] Re-adding DISABLE_DEFAULT_ERROR_HANDLING to Configure. Fixes #2033 --- cake/libs/configure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/configure.php b/cake/libs/configure.php index 82df61f048e..c886128305c 100644 --- a/cake/libs/configure.php +++ b/cake/libs/configure.php @@ -137,7 +137,7 @@ function write($config, $value = null) { $callback = array('CakeLog', 'getInstance'); } } - if (!empty($callback) && class_exists('Debugger')) { + if (!empty($callback) && !defined('DISABLE_DEFAULT_ERROR_HANDLING') && class_exists('Debugger')) { Debugger::invoke(call_user_func($callback)); } error_reporting($reporting);