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
path: root/misc
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-02-19 05:01:57 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-02-20 04:51:35 +0400
commitd0b384bc02fdf33610136b8fa4b0a00dd54a19bb (patch)
treee4952e67d70245515085d22c8bd60b0dacdca3a8 /misc
parent518a1f1e12e7ed6336fe8b42e4ab90c1751e5277 (diff)
Fixing bug accept language reported in; http://forum.piwik.org/read.php?2,100902
Diffstat (limited to 'misc')
-rw-r--r--misc/proxy-hide-piwik-url/piwik.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/proxy-hide-piwik-url/piwik.php b/misc/proxy-hide-piwik-url/piwik.php
index 228ea9125c..a0ddca4555 100644
--- a/misc/proxy-hide-piwik-url/piwik.php
+++ b/misc/proxy-hide-piwik-url/piwik.php
@@ -109,7 +109,7 @@ foreach($_GET as $key=>$value) {
header("Content-Type: image/gif");
$stream_options = array('http' => array(
'user_agent' => @$_SERVER['HTTP_USER_AGENT'],
- 'header' => "Accept-Language: " . @str_replace("\n","\t","\r", "", $_SERVER['HTTP_ACCEPT_LANGUAGE']) . "\r\n" ,
+ 'header' => "Accept-Language: " . @str_replace(array("\n","\t","\r"), "", $_SERVER['HTTP_ACCEPT_LANGUAGE']) . "\r\n" ,
'timeout' => $timeout
));
$ctx = stream_context_create($stream_options);