diff options
Diffstat (limited to 'modules/ErrorHandler.php')
-rwxr-xr-x | modules/ErrorHandler.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/ErrorHandler.php b/modules/ErrorHandler.php index 7ae1fc9d9d..76a562da8a 100755 --- a/modules/ErrorHandler.php +++ b/modules/ErrorHandler.php @@ -1,10 +1,10 @@ <?php function Piwik_ErrorHandler($errno, $errstr, $errfile, $errline) { - ob_start(); - debug_print_backtrace(); - $backtrace = ob_get_contents(); - ob_end_clean(); +// ob_start(); +// debug_print_backtrace(); +// $backtrace = ob_get_contents(); +// ob_end_clean(); Zend_Registry::get('logger_error')->log($errno, $errstr, $errfile, $errline, $backtrace); switch($errno) @@ -31,4 +31,4 @@ function Piwik_ErrorHandler($errno, $errstr, $errfile, $errline) break; } } -?> + |