Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ErrorHandler.php')
-rwxr-xr-xmodules/ErrorHandler.php10
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;
}
}
-?>
+