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:
authormattpiwik <matthieu.aubry@gmail.com>2010-12-21 04:03:29 +0300
committermattpiwik <matthieu.aubry@gmail.com>2010-12-21 04:03:29 +0300
commit7eee40c9b052f46d945753a81277697cddf03f2d (patch)
tree47f6e642ba0dd46b9f21ea267483201eb4acd58f /piwik.php
parent01d5ed16f5a15a2cde8f366bcc40b6d231515c1c (diff)
Fixing unit tests
git-svn-id: http://dev.piwik.org/svn/trunk@3480 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/piwik.php b/piwik.php
index a74a6cba67..65e9c69fb2 100644
--- a/piwik.php
+++ b/piwik.php
@@ -74,6 +74,9 @@ if(!defined('PIWIK_ENABLE_TRACKING') || PIWIK_ENABLE_TRACKING)
$process = new Piwik_Tracker();
$process->main();
ob_end_flush();
- printDebug($_COOKIE);
- printDebug($timer);
+ if($GLOBALS['PIWIK_TRACKER_DEBUG'] === true)
+ {
+ printDebug($_COOKIE);
+ printDebug($timer);
+ }
}