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:
authormattab <matthieu.aubry@gmail.com>2016-01-30 03:34:08 +0300
committermattab <matthieu.aubry@gmail.com>2016-01-30 03:34:24 +0300
commit24025ce6b155a5945be45d2b5e0b7c95ab312f5a (patch)
tree7d02603e52e702ffbe07eed2188a71fc59f69316 /core/Plugin/ControllerAdmin.php
parent5c384ddfef01d41a1169877329273207c4f80471 (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.php5
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 .= " ";