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:
authorStefan Giehl <stefan@matomo.org>2022-01-26 22:50:47 +0300
committerGitHub <noreply@github.com>2022-01-26 22:50:47 +0300
commit2ba0f7a67cb4aa336ef312e2850de1f325adcb69 (patch)
tree62bbc9cd0b444607009d73008c33f4b58d97a120 /config
parenta8e12af576ac4c5c33975e63865f02370a00c6d9 (diff)
Allow disabling the usage of the default geolocation provider as fallback (#18634)
* Allow disabling the usage of the default geolocation provider as fallback * Improve naming * add changelog entry * Introduce a disabled provider and setting to disable the default provider * fix tests * update changelog
Diffstat (limited to 'config')
-rwxr-xr-xconfig/global.ini.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index aaf8fbd585..4da5694f47 100755
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -928,6 +928,11 @@ default_time_one_page_visit = 0
; By default, Matomo will remove the most common parameters which are known to change often (eg. session ID parameters)
url_query_parameter_to_exclude_from_url = "gclid,fbclid,fb_xd_fragment,fb_comment_id,phpsessid,jsessionid,sessionid,aspsessionid,doing_wp_cron,sid,pk_vid"
+; If set to 1, Matomo will use the default provider if no other provider is configured.
+; In addition the default provider will be used as a fallback when the configure provider does not return any results.
+; If set to 0, the default provider will be unavailable. Instead the "disabled" provider will be used as default and fallback instead.
+enable_default_location_provider = 1
+
; if set to 1, Matomo attempts a "best guess" at the visitor's country of
; origin when the preferred language tag omits region information.
; The mapping is defined in core/DataFiles/LanguageToCountry.php,