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
path: root/config
diff options
context:
space:
mode:
authorbenakamoorthi <benaka.moorthi@gmail.com>2012-10-23 05:27:50 +0400
committerbenakamoorthi <benaka.moorthi@gmail.com>2012-10-23 05:27:50 +0400
commitba1b3084b2a1e3ffea0b9cafe8ed5e167571f07e (patch)
tree94ad1e4d3f8cdd45c7559f9978cd7c0cfcafd561 /config
parent4f2ef166a698e3f583b623e76fdcdb9aaf8d1d81 (diff)
Fixes #3080, add config option to disable trusted_hosts check, tweak many translations, modify UI to display one input w/ a label if only one trusted host is set (or if there's an injected host), set trusted host to Host if no stored trusted hosts and user is superuser, and don't use regex to check host.
git-svn-id: http://dev.piwik.org/svn/trunk@7280 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'config')
-rw-r--r--config/global.ini.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index 82da69ad1d..5082088b10 100644
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -286,6 +286,10 @@ assume_secure_protocol = 0
;proxy_ips[] = 199.27.128.0/21
;proxy_ips[] = 173.245.48.0/20
+; Whether to enable trusted host checking. This can be disabled if you're running Piwik
+; on several URLs and do not wish to constantly edit the trusted host list.
+enable_trusted_host_check = 1
+
; List of trusted hosts (eg domain or subdomain names) when generating absolute URLs.
;
; Examples: