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:
Diffstat (limited to 'misc/redirectToUrl.php')
-rw-r--r--misc/redirectToUrl.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/misc/redirectToUrl.php b/misc/redirectToUrl.php
index 4df113fcec..c5597aa4c4 100644
--- a/misc/redirectToUrl.php
+++ b/misc/redirectToUrl.php
@@ -2,10 +2,7 @@
// we redirect to the website instead of linking directly because we don't want
// to expose the referer on the piwik demo
$url = htmlentities($_GET['url']);
-if(!preg_match('~http://(dev\.|forum\.)?piwik.org(/|$)~', $url)
-&& !in_array($url, array(
- 'http://blogvertising.pl/',
-))) { die; }
+if(!preg_match('~http://(forum\.)?piwik.org(/|$)~', $url)) { die; }
?>
<html><head>
<meta http-equiv="refresh" content="0;url=<?php echo $url; ?>"/>