From 4ceac6f3c81549bf9ab59a46c9ea73618a278103 Mon Sep 17 00:00:00 2001 From: robocoder Date: Sun, 3 Jan 2010 17:04:00 +0000 Subject: Workaround rule blocking piwik.php. git-svn-id: http://dev.piwik.org/svn/trunk@1761 59fd770c-687e-43c8-a1e3-f5a4ff64c105 --- js/index.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'js/index.php') 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')) { -- cgit v1.2.3