diff options
author | robocoder <anthon.pang@gmail.com> | 2010-11-08 08:00:36 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-11-08 08:00:36 +0300 |
commit | e0c60a4c9fe1119d3746a71ed9780de0b57a4e54 (patch) | |
tree | a1947b96e86ad57b009a118eae589f0decfaff76 /js/index.php | |
parent | c2e0b0b294d0f7290f0cfea41cab8fec3f31a462 (diff) |
fixes #1460 - add Installation check for the tracker (GET piwik.php?url=http://example.com); fix the tracker proxy when using POST
git-svn-id: http://dev.piwik.org/svn/trunk@3304 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'js/index.php')
-rw-r--r-- | js/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/index.php b/js/index.php index 727bbc79b4..4be88691e9 100644 --- a/js/index.php +++ b/js/index.php @@ -10,7 +10,7 @@ /** * Tracker proxy */ -if(!empty($_SERVER['QUERY_STRING'])) { +if($_SERVER['REQUEST_METHOD'] == 'POST' || !empty($_SERVER['QUERY_STRING'])) { include '../piwik.php'; exit; } |