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:
authorThomas Steur <tsteur@users.noreply.github.com>2020-06-26 03:00:00 +0300
committerGitHub <noreply@github.com>2020-06-26 03:00:00 +0300
commit69ced1716928b7ca47b43b726acc8ed8b3c1ca67 (patch)
tree21d64c3163a957d86e1ad8b2206dc65d179d14b0 /config
parentbc17e1e1ae8d6bbee5799cf86f1b7ed64eb7516f (diff)
Configure device detector cache through DI (#16115)
Diffstat (limited to 'config')
-rw-r--r--config/global.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/global.php b/config/global.php
index 5499b0920a..9737896f82 100644
--- a/config/global.php
+++ b/config/global.php
@@ -79,6 +79,8 @@ return array(
'Piwik\Translation\Loader\LoaderInterface' => DI\object('Piwik\Translation\Loader\LoaderCache')
->constructor(DI\get('Piwik\Translation\Loader\JsonFileLoader')),
+ 'DeviceDetector\Cache\Cache' => DI\object('Piwik\DeviceDetector\DeviceDetectorCache')->constructor(86400),
+
'observers.global' => array(),
/**