diff options
author | mattab <matthieu.aubry@gmail.com> | 2016-01-30 03:34:08 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2016-01-30 03:34:24 +0300 |
commit | 24025ce6b155a5945be45d2b5e0b7c95ab312f5a (patch) | |
tree | 7d02603e52e702ffbe07eed2188a71fc59f69316 /core/Plugin/ControllerAdmin.php | |
parent | 5c384ddfef01d41a1169877329273207c4f80471 (diff) |
If current hots is localhost, do not show the SSL warning notification
Diffstat (limited to 'core/Plugin/ControllerAdmin.php')
-rw-r--r-- | core/Plugin/ControllerAdmin.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Plugin/ControllerAdmin.php b/core/Plugin/ControllerAdmin.php index 37ce526b8b..e503a615e6 100644 --- a/core/Plugin/ControllerAdmin.php +++ b/core/Plugin/ControllerAdmin.php @@ -98,6 +98,11 @@ abstract class ControllerAdmin extends Controller return; } + if(Url::isLocalHost(Url::getCurrentHost())) { + return; + } + + $message = Piwik::translate('General_CurrentlyUsingUnsecureHttp'); $message .= " "; |