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:14:23 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-14 04:14:23 +0400
commitcf279bc8aa095c849932182bd3eb1c60ed9f67a3 (patch)
treeab8230b7e4e7b46065c079d3bfdaf3d28c443978 /plugins/Proxy
parentdf470ed7170e4b323b4623fd55453abc2d7810ad (diff)
ProxyHttp class until I find a better name
Diffstat (limited to 'plugins/Proxy')
-rw-r--r--plugins/Proxy/Controller.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php
index 9378a6f3e1..0e514d692e 100644
--- a/plugins/Proxy/Controller.php
+++ b/plugins/Proxy/Controller.php
@@ -13,7 +13,7 @@ namespace Piwik\Plugins\Proxy;
use Piwik\AssetManager;
use Piwik\Common;
use Piwik\Piwik;
-use Piwik\ProxyStaticFile;
+use Piwik\ProxyHttp;
use Piwik\Url;
/**
@@ -35,7 +35,7 @@ class Controller extends \Piwik\Controller
public function getCss()
{
$cssMergedFile = AssetManager::getMergedCssFileLocation();
- ProxyStaticFile::serveFile($cssMergedFile, "text/css");
+ ProxyHttp::serverStaticFile($cssMergedFile, "text/css");
}
/**
@@ -47,7 +47,7 @@ class Controller extends \Piwik\Controller
public function getJs()
{
$jsMergedFile = AssetManager::getMergedJsFileLocation();
- ProxyStaticFile::serveFile($jsMergedFile, self::JS_MIME_TYPE);
+ ProxyHttp::serverStaticFile($jsMergedFile, self::JS_MIME_TYPE);
}
/**
@@ -65,7 +65,7 @@ class Controller extends \Piwik\Controller
AssetManager::removeTranslationsJsFile();
$translationsJsFile = AssetManager::getTranslationsJsFileLocation();
- ProxyStaticFile::serveFile($translationsJsFile, self::JS_MIME_TYPE);
+ ProxyHttp::serverStaticFile($translationsJsFile, self::JS_MIME_TYPE);
}
/**