diff options
author | BeezyT <timo@ezdesign.de> | 2012-09-24 11:57:39 +0400 |
---|---|---|
committer | BeezyT <timo@ezdesign.de> | 2012-09-24 11:57:39 +0400 |
commit | 7ba5633252cb66be29494cee886e58f5b0060a73 (patch) | |
tree | 5689c279beeb31e5c2491e61213d2ff56ae3a46f /plugins/Proxy | |
parent | 8bcf12942fc6124d7e42090b6d29f8b4c329e906 (diff) |
refs #3332 Transitions: main url, external referrers, outlinks and downloads open in new tab on click
git-svn-id: http://dev.piwik.org/svn/trunk@7046 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Proxy')
-rw-r--r-- | plugins/Proxy/Controller.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php index 1b2a8f74f2..953db0bfe8 100644 --- a/plugins/Proxy/Controller.php +++ b/plugins/Proxy/Controller.php @@ -134,13 +134,13 @@ class Piwik_Proxy_Controller extends Piwik_Controller } // mask visits to *.piwik.org - if(self::isPiwikUrl($url)) + if (!self::isPiwikUrl($url)) { - echo -'<html><head> -<meta http-equiv="refresh" content="0;url=' . $url . '" /> -</head></html>'; + Piwik::checkUserHasSomeViewAccess(); } + + echo '<html><head><meta http-equiv="refresh" content="0;url=' . $url . '" /></head></html>'; + exit; } |