Skip to content

Commit

Permalink
Display timer correctly in tracker debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Feb 18, 2014
1 parent 96cb532 commit af5d421
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piwik.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -110,6 +110,6 @@
ob_end_flush();
if ($GLOBALS['PIWIK_TRACKER_DEBUG'] === true) {
Common::printDebug($_COOKIE);
Common::printDebug($timer);
Common::printDebug((string)$timer);
}
}

0 comments on commit af5d421

Please sign in to comment.