diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-03-03 02:52:26 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-03-03 02:52:26 +0400 |
commit | 6dbc84e789466ce68af253c4c792548d79e223e7 (patch) | |
tree | 1ed297213c430074268fad4c17ec7f14965c8142 /core | |
parent | 838a7abca8a1fce9a8dda3c8654bd4006c1395f3 (diff) |
Fixes #3769 Hiding backtrace on login form + error pages
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller.php | 2 | ||||
-rw-r--r-- | core/FrontController.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller.php b/core/Controller.php index 1f4867ae45..1ecf37a679 100644 --- a/core/Controller.php +++ b/core/Controller.php @@ -462,7 +462,7 @@ abstract class Piwik_Controller $view->topMenu = Piwik_GetTopMenu(); } catch(Exception $e) { - Piwik_ExitWithMessage($e->getMessage(), Piwik::shouldLoggerLog() ? $e->getTraceAsString() : ''); + Piwik_ExitWithMessage($e->getMessage(), '' /* $e->getTraceAsString() */ ); } } diff --git a/core/FrontController.php b/core/FrontController.php index 055f4058aa..203a911f8a 100644 --- a/core/FrontController.php +++ b/core/FrontController.php @@ -139,7 +139,7 @@ class Piwik_FrontController } catch(Exception $e) { $debugTrace = $e->getTraceAsString(); $message = Piwik_Common::sanitizeInputValue($e->getMessage()); - Piwik_ExitWithMessage($message, Piwik::shouldLoggerLog() ? $debugTrace : '', true); + Piwik_ExitWithMessage($message, '' /* $debugTrace */, true); } } |