Skip to content

Commit

Permalink
Re-adding DISABLE_DEFAULT_ERROR_HANDLING to Configure.
Browse files Browse the repository at this point in the history
Fixes #2033
  • Loading branch information
markstory committed Sep 30, 2011
1 parent 3149486 commit 534291a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/configure.php
Expand Up @@ -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);
Expand Down

0 comments on commit 534291a

Please sign in to comment.