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>2007-09-06 00:51:05 +0400
committermattpiwik <matthieu.aubry@gmail.com>2007-09-06 00:51:05 +0400
commit09d9e575e959c974033998f6b6e4f94912773c72 (patch)
treefb3f750f3221b9c764a237a8b972c75fb5892876
parent8e84f80283caf03b09131c2f81567fbc0f8bcd12 (diff)
The piwik script now returns a transparent gif 1*1 pixel;
now testing the piwik software on giik.net/blog... :) git-svn-id: http://dev.piwik.org/svn/trunk@60 59fd770c-687e-43c8-a1e3-f5a4ff64c105
-rw-r--r--modules/LogStats.php3
-rw-r--r--piwik.php2
2 files changed, 4 insertions, 1 deletions
diff --git a/modules/LogStats.php b/modules/LogStats.php
index 7b0e80c837..b96880dd94 100644
--- a/modules/LogStats.php
+++ b/modules/LogStats.php
@@ -175,6 +175,9 @@ class Piwik_LogStats
case self::STATE_NOTHING_TO_NOTICE:
default:
printDebug("Nothing to notice => default behaviour");
+ $trans_gif_64 = "R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAEAAAIALAAAAAABAAEAAAICVAEAOw==";
+ header("Content-type: image/gif");
+ print(base64_decode($trans_gif_64));
break;
}
printDebug("End of the page.");
diff --git a/piwik.php b/piwik.php
index cb740b2a08..d4ca1dfaaf 100644
--- a/piwik.php
+++ b/piwik.php
@@ -42,7 +42,7 @@ require_once "Cookie.php";
require_once "LogStats/Db.php";
require_once "LogStats/Visit.php";
-$GLOBALS['DEBUGPIWIK'] = true;
+$GLOBALS['DEBUGPIWIK'] = false;
ob_start();
printDebug($_GET);