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
path: root/js
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-06-19 07:01:02 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-06-21 05:00:24 +0400
commit454ca0f8d88cf429554f44e1502b33991aad1e9a (patch)
treec45cac1c5fb40f7f25831ddb21ff9708a53bf41c /js
parenta4bf13ee4133ffe63753cc113cac5f637f72e400 (diff)
tweaks to js/tracker.php if-then
Diffstat (limited to 'js')
-rw-r--r--js/tracker.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/tracker.php b/js/tracker.php
index 55b8782f65..27ec6e0f9b 100644
--- a/js/tracker.php
+++ b/js/tracker.php
@@ -10,7 +10,9 @@ use Piwik\ProxyHttp;
/**
* Tracker proxy
*/
-if($_SERVER['REQUEST_METHOD'] == 'POST' || !empty($_SERVER['QUERY_STRING'])) {
+if ($_SERVER['REQUEST_METHOD'] == 'POST'
+ || !empty($_SERVER['QUERY_STRING'])
+) {
include '../piwik.php';
exit;
}