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 'core/Plugin/ControllerAdmin.php')
-rw-r--r--core/Plugin/ControllerAdmin.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Plugin/ControllerAdmin.php b/core/Plugin/ControllerAdmin.php
index 51ff540b98..89fc082199 100644
--- a/core/Plugin/ControllerAdmin.php
+++ b/core/Plugin/ControllerAdmin.php
@@ -97,10 +97,13 @@ abstract class ControllerAdmin extends Controller
return;
}
- if(Url::isLocalHost(Url::getCurrentHost())) {
+ if (Url::isLocalHost(Url::getCurrentHost())) {
return;
}
+ if (Development::isEnabled()) {
+ return;
+ }
$message = Piwik::translate('General_CurrentlyUsingUnsecureHttp');