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:
authorjohn357smith <john357smith@gmail.com>2020-04-08 11:15:43 +0300
committerGitHub <noreply@github.com>2020-04-08 11:15:43 +0300
commitbb4cad6d756e119f92f397a8dd4574d0d1bf539c (patch)
treef4f8864aa31ed43ffcc3f9a6d896976c06d8229a /config
parent71678ffb0acbaac470be94b85015a0a22c615205 (diff)
Adds option to disable referrer spam blacklist (#15744)
* Update VisitExcluded.php Added option to disable referrer spam blacklist. * Update VisitExcluded.php Config parameter changed to enable_spam_filter. * Update global.ini.php Added option to disable spam blacklist. * Update core/Tracker/VisitExcluded.php Co-Authored-By: Stefan Giehl <stefan@matomo.org> * Update core/Tracker/VisitExcluded.php Co-Authored-By: Stefan Giehl <stefan@matomo.org> * Update Tasks.php Added check if spam filter is enabled. Co-authored-by: Stefan Giehl <stefan@matomo.org>
Diffstat (limited to 'config')
-rwxr-xr-xconfig/global.ini.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index 04485db61a..b38e688281 100755
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -895,6 +895,9 @@ tracking_requests_require_authentication_when_custom_timestamp_newer_than = 8640
; NOTE: you must also set "[Tracker] debug = 1" to enable the profiler.
enable_sql_profiler = 0
+; Enables using referrer spam blacklist.
+enable_spam_filter = 1
+
[Segments]
; Reports with segmentation in API requests are processed in real time.
; On high traffic websites it is recommended to pre-process the data