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:
authorKyleK <kylekatarnls@gmail.com>2014-09-14 16:18:01 +0400
committerKyleK <kylekatarnls@gmail.com>2014-09-14 16:18:01 +0400
commita9fb8c7b89def45a3754fb383ce3e76488ed7156 (patch)
treef5d0e22bc8698294367c356db2ee1cc1e12eef48 /plugins/Proxy
parent37599df8123f7f2678b55c42b139d619c0a4d3b9 (diff)
Replace header() with Common::sendHeader() when possible
Diffstat (limited to 'plugins/Proxy')
-rw-r--r--plugins/Proxy/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php
index 3097c786b5..bfc44f421f 100644
--- a/plugins/Proxy/Controller.php
+++ b/plugins/Proxy/Controller.php
@@ -96,7 +96,7 @@ class Controller extends \Piwik\Plugin\Controller
if (!UrlHelper::isLookLikeUrl($url)) {
die('Please check the &url= parameter: it should to be a valid URL');
}
- @header('Content-Type: text/html; charset=utf-8');
+ Common::sendHeader('Content-Type: text/html; charset=utf-8');
echo '<html><head><meta http-equiv="refresh" content="0;url=' . $url . '" /></head></html>';
exit;