Permalink
Browse files

Re-adding DISABLE_DEFAULT_ERROR_HANDLING to Configure.

Fixes #2033
  • Loading branch information...
1 parent 3149486 commit 534291a1a65857b231c2cc26d4160eae1be0b49c @markstory markstory committed Sep 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/configure.php
View
@@ -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);

0 comments on commit 534291a

Please sign in to comment.