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
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-09-14 04:03:04 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-14 04:03:04 +0400
commitdf470ed7170e4b323b4623fd55453abc2d7810ad (patch)
treed2e234b0562e8b85f9aa847fe0a6de468e554808 /js/index.php
parent6ea0fe5c49de11a0693e0f588ae06484cf3f6503 (diff)
Refactoring ProxyStaticFile class:
Small static file server proxy, with compression, caching. Used to server piwik.js and the merged+minified CSS and JS files
Diffstat (limited to 'js/index.php')
-rw-r--r--js/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/index.php b/js/index.php
index 6c67ffdc81..4ee43b7e64 100644
--- a/js/index.php
+++ b/js/index.php
@@ -5,7 +5,7 @@
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-use Piwik\Piwik;
+use Piwik\ProxyStaticFile;
/**
* Tracker proxy
@@ -31,6 +31,6 @@ $file = '../piwik.js';
// There is no cache buster parameter so we don't set Expires: header
$expireFarFuture = false;
-Piwik::serveStaticFile($file, "application/javascript; charset=UTF-8", $expireFarFuture);
+ProxyStaticFile::serveFile($file, "application/javascript; charset=UTF-8", $expireFarFuture);
exit;