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:
authordiosmosis <benaka@piwik.pro>2015-03-17 04:44:25 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-18 08:30:28 +0300
commitacd924de32bb40be3305027b812f83ba7310bf6f (patch)
treeddf6a1bfcd4a7a8b81d06fc37741e01fc2ec1324 /config
parent42807de32ab64bef2c18eb1f6a6d0a0358f8c57f (diff)
Fixes #7223, add new INI option [General] process_new_segments_from that controls the start date of archiving for segments that have not been archived before. If a creation date cannot be found, now is used.
Diffstat (limited to 'config')
-rw-r--r--config/global.ini.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index de3e80ca72..c23522ab53 100644
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -220,6 +220,13 @@ adding_segment_requires_access = "view"
; on Piwik performance.
allow_adding_segments_for_all_websites = 1
+; When archiving segments for the first time, this determines the oldest date that will be archived.
+; This option can be used to avoid archiving (for isntance) the lastN years for every new segment.
+; Valid option values include: beginning_of_time (start date of archiving will not be changed)
+; creation_time (start date of archiving will be the creation date of the segment)
+; lastN where N is an integer (start date of archiving will be N days before the creation date)
+process_new_segments_from = beginning_of_time
+
; this action name is used when the URL ends with a slash /
; it is useful to have an actual string to write in the UI
action_default_name = index