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:
Diffstat (limited to 'config')
-rw-r--r--config/environment/dev.php2
-rw-r--r--config/environment/test.php2
-rw-r--r--config/global.php8
3 files changed, 6 insertions, 6 deletions
diff --git a/config/environment/dev.php b/config/environment/dev.php
index a8bedecca9..f0d1514d17 100644
--- a/config/environment/dev.php
+++ b/config/environment/dev.php
@@ -2,7 +2,7 @@
return array(
- 'Piwik\Cache\Backend' => DI\object('Piwik\Cache\Backend\ArrayCache'),
+ 'Matomo\Cache\Backend' => DI\object('Matomo\Cache\Backend\ArrayCache'),
'Piwik\Translation\Loader\LoaderInterface' => DI\object('Piwik\Translation\Loader\LoaderCache')
->constructor(DI\get('Piwik\Translation\Loader\DevelopmentLoader')),
diff --git a/config/environment/test.php b/config/environment/test.php
index 7cb8defba0..bfd8e54460 100644
--- a/config/environment/test.php
+++ b/config/environment/test.php
@@ -29,7 +29,7 @@ return array(
];
}),
- 'Piwik\Cache\Backend' => function () {
+ 'Matomo\Cache\Backend' => function () {
return \Piwik\Cache::buildBackend('file');
},
'cache.eager.cache_id' => 'eagercache-test-',
diff --git a/config/global.php b/config/global.php
index 189a2cdf77..602393e10d 100644
--- a/config/global.php
+++ b/config/global.php
@@ -2,7 +2,7 @@
use Interop\Container\ContainerInterface;
use Interop\Container\Exception\NotFoundException;
-use Piwik\Cache\Eager;
+use Matomo\Cache\Eager;
use Piwik\SettingsServer;
use Piwik\Config;
@@ -33,8 +33,8 @@ return array(
'path.cache' => DI\string('{path.tmp}/cache/tracker/'),
- 'Piwik\Cache\Eager' => function (ContainerInterface $c) {
- $backend = $c->get('Piwik\Cache\Backend');
+ 'Matomo\Cache\Eager' => function (ContainerInterface $c) {
+ $backend = $c->get('Matomo\Cache\Backend');
$cacheId = $c->get('cache.eager.cache_id');
if (SettingsServer::isTrackerApiRequest()) {
@@ -52,7 +52,7 @@ return array(
return $cache;
},
- 'Piwik\Cache\Backend' => function (ContainerInterface $c) {
+ 'Matomo\Cache\Backend' => function (ContainerInterface $c) {
// If Piwik is not installed yet, it's possible the tmp/ folder is not writable
// we prevent failing with an unclear message eg. coming from doctrine-cache
// by forcing to use a cache backend which always works ie. array