diff options
Diffstat (limited to 'js/index.php')
-rw-r--r-- | js/index.php | 8 |
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; |