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-04-16 06:44:07 +0400
committermattab <matthieu.aubry@gmail.com>2013-04-16 06:44:07 +0400
commit37c6494c6ab1b015dc3d27373200d38b44c5da29 (patch)
tree1677c07c51208384e6832d2205e7a56bfea672ec /misc
parent71bb678a4308a50a2e29b6f6a936f58196e989dc (diff)
Fixes #2019 thanks for the report, fixing the regression
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 eabac8c097..7ce18e28df 100644
--- a/misc/proxy-hide-piwik-url/piwik.php
+++ b/misc/proxy-hide-piwik-url/piwik.php
@@ -66,7 +66,7 @@ foreach ($_GET as $key => $value) {
header("Content-Type: image/gif");
$stream_options = array('http' => array(
'user_agent' => @$_SERVER['HTTP_USER_AGENT'],
- 'header' => sprintf("Accept-Language: %s%s\r\n", @str_replace(array("\n", "\t", "\r"), "", $_SERVER['HTTP_ACCEPT_LANGUAGE'])),
+ 'header' => sprintf("Accept-Language: %s\r\n", @str_replace(array("\n", "\t", "\r"), "", $_SERVER['HTTP_ACCEPT_LANGUAGE'])),
'timeout' => $timeout
));
$ctx = stream_context_create($stream_options);