diff options
author | robocoder <anthon.pang@gmail.com> | 2010-01-03 20:04:00 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-01-03 20:04:00 +0300 |
commit | 4ceac6f3c81549bf9ab59a46c9ea73618a278103 (patch) | |
tree | 79d57f7757c6a5bfd7a1ecc1b564d9e393b50ee5 /js/index.php | |
parent | c3b2652c64f6ec5b28d3b28a5a2f10ff86af8610 (diff) |
Workaround rule blocking piwik.php.
git-svn-id: http://dev.piwik.org/svn/trunk@1761 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'js/index.php')
-rw-r--r-- | js/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/index.php b/js/index.php index cc790a1a43..00f8b7b9fe 100644 --- a/js/index.php +++ b/js/index.php @@ -7,6 +7,11 @@ * @version $Id$ */ +if(!empty($_SERVER['QUERY_STRING'])) { + include '../piwik.php'; + exit; +} + $file = '../piwik.js'; if (file_exists($file) && function_exists('readfile')) { |