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:
authorrobocoder <anthon.pang@gmail.com>2010-09-05 05:34:14 +0400
committerrobocoder <anthon.pang@gmail.com>2010-09-05 05:34:14 +0400
commitf463f20906b38a330c53022a11c7573cca5c5396 (patch)
tree159eb5d80ddd5fa7ba8b0843d29fdf80aa2369b9 /js/index.php
parent2a132e1ad810b4e2b1f8b29f390f91d1c9aab712 (diff)
fix broken cachebuster; fix broken ajaxcdn; use piwik_version in cachebuster for consistency
git-svn-id: http://dev.piwik.org/svn/trunk@3056 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'js/index.php')
-rw-r--r--js/index.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/index.php b/js/index.php
index cdda22c6b4..ade36fdbd4 100644
--- a/js/index.php
+++ b/js/index.php
@@ -7,15 +7,19 @@
* @version $Id$
*/
+/**
+ * Tracker proxy
+ */
if(!empty($_SERVER['QUERY_STRING'])) {
include '../piwik.php';
exit;
}
/**
+ * piwik.js proxy
+ *
* @see core/Piwik.php
*/
-
define('PIWIK_INCLUDE_PATH', '..');
define('PIWIK_DOCUMENT_ROOT', '..');
@@ -25,4 +29,4 @@ $file = 'piwik.js';
Piwik::serveStaticFile($file, "application/javascript; charset=UTF-8");
-exit; \ No newline at end of file
+exit;