diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2007-08-22 22:14:37 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2007-08-22 22:14:37 +0400 |
commit | f11210f7a74569bc25b4f89c4ff7ae5afebfca86 (patch) | |
tree | 558c23cf9b11172643773ddbe51cc7a32af5a315 /modules/ErrorHandler.php | |
parent | 6307df6d62c3507e7f9779ea441b0f8bc9f35dc9 (diff) |
-wrote some renderers: php, xml
-wrote the API request class to handle the GET request to get data from the API provided by the plugins
-organized the files into new directories
git-svn-id: http://dev.piwik.org/svn/trunk@47 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'modules/ErrorHandler.php')
-rwxr-xr-x | modules/ErrorHandler.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/ErrorHandler.php b/modules/ErrorHandler.php index 79b6acd578..cb746380e6 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); } ?> |