diff --git a/piwik.php b/piwik.php index 263b3b0de73..b83292a63e7 100644 --- a/piwik.php +++ b/piwik.php @@ -12,7 +12,7 @@ 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 @@ ob_end_flush(); if ($GLOBALS['PIWIK_TRACKER_DEBUG'] === true) { Common::printDebug($_COOKIE); - Common::printDebug($timer); + Common::printDebug((string)$timer); } }