diff options
-rw-r--r-- | plugins/Overlay/Controller.php | 3 | ||||
-rw-r--r-- | plugins/Proxy/Controller.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Overlay/Controller.php b/plugins/Overlay/Controller.php index c5b1633149..cc4dc312f8 100644 --- a/plugins/Overlay/Controller.php +++ b/plugins/Overlay/Controller.php @@ -132,7 +132,8 @@ class Piwik_Overlay_Controller extends Piwik_Controller $sitesManager = Piwik_SitesManager_API::getInstance(); $site = $sitesManager->getSiteFromId($idSite); $urls = $sitesManager->getSiteUrlsFromId($idSite); - + + @header('Content-Type: text/html; charset=UTF-8'); echo ' <html><head><title></title></head><body> <script type="text/javascript"> diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php index d4cab5d6e3..aab665d145 100644 --- a/plugins/Proxy/Controller.php +++ b/plugins/Proxy/Controller.php @@ -143,7 +143,7 @@ class Piwik_Proxy_Controller extends Piwik_Controller { die('Please check the &url= parameter: it should to be a valid URL'); } - + @header('Content-Type: text/html; charset=utf-8'); echo '<html><head><meta http-equiv="refresh" content="0;url=' . $url . '" /></head></html>'; exit; |