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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-02-26 10:36:25 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-02-26 10:36:25 +0300
commitb8a1d564378eddab7f00cd0d64250f46d60a8090 (patch)
tree6538f4f731cfbcaeda81b2fe204a5467231d1d45 /core/Common.php
parentd0270b13f12e4e2f7081b404c7da7c094b3bd414 (diff)
Tracker debug wasn't showing anything anymore
This is a dirty fix, but the tracker logging is too messy right now to make it correctly work with the logger. At least now it works.
Diffstat (limited to 'core/Common.php')
-rw-r--r--core/Common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Common.php b/core/Common.php
index 47511a5e89..791abc09a3 100644
--- a/core/Common.php
+++ b/core/Common.php
@@ -1288,11 +1288,11 @@ class Common
$info = Common::sanitizeInputValues($info);
$out = var_export($info, true);
foreach (explode("\n", $out) as $line) {
- Log::debug($line);
+ echo $line;
}
} else {
foreach (explode("\n", $info) as $line) {
- Log::debug(htmlspecialchars($line, ENT_QUOTES));
+ echo htmlspecialchars($line, ENT_QUOTES);
}
}
}