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
path: root/core
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-03-03 02:52:26 +0400
committermattab <matthieu.aubry@gmail.com>2013-03-03 02:52:26 +0400
commit6dbc84e789466ce68af253c4c792548d79e223e7 (patch)
tree1ed297213c430074268fad4c17ec7f14965c8142 /core
parent838a7abca8a1fce9a8dda3c8654bd4006c1395f3 (diff)
Fixes #3769 Hiding backtrace on login form + error pages
Diffstat (limited to 'core')
-rw-r--r--core/Controller.php2
-rw-r--r--core/FrontController.php2
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);
}
}