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:
authormattab <matthieu.aubry@gmail.com>2014-02-18 06:46:17 +0400
committermattab <matthieu.aubry@gmail.com>2014-02-18 06:46:17 +0400
commitaf5d421e6fe64c6debfe7e56ddb0a692d8cdcf4a (patch)
treea35c67e0c35eabd4a1805a710494c68887e11ba5 /piwik.php
parent96cb53285646ac130dc9da2945dc7f16cadf3510 (diff)
Display timer correctly in tracker debug
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/piwik.php b/piwik.php
index 263b3b0de7..b83292a63e 100644
--- a/piwik.php
+++ b/piwik.php
@@ -12,7 +12,7 @@ use Piwik\Common;
use Piwik\Timer;
use Piwik\Tracker;
-$GLOBALS['PIWIK_TRACKER_DEBUG'] = false;
+$GLOBALS['PIWIK_TRACKER_DEBUG'] = !false;
$GLOBALS['PIWIK_TRACKER_DEBUG_FORCE_SCHEDULED_TASKS'] = false;
define('PIWIK_ENABLE_TRACKING', true);
@@ -110,6 +110,6 @@ if (!defined('PIWIK_ENABLE_TRACKING') || PIWIK_ENABLE_TRACKING) {
ob_end_flush();
if ($GLOBALS['PIWIK_TRACKER_DEBUG'] === true) {
Common::printDebug($_COOKIE);
- Common::printDebug($timer);
+ Common::printDebug((string)$timer);
}
}