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>2019-11-05 07:11:24 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-11-05 07:11:24 +0300
commitdd39a1c3064771ec4751ae8d5b9e34e3574ac436 (patch)
treef9f828bea038a81ebd066a295c86ab0149286c8e /config
parentd7ef0224fcd17edee621abfe8ece8c37b6d5b8ba (diff)
tmp directory should use user path (#15106)
fix https://github.com/matomo-org/matomo/issues/15087 See eg https://github.com/matomo-org/matomo/issues/15087#issuecomment-549495976 and https://github.com/matomo-org/matomo/issues/15087#issuecomment-549503538
Diffstat (limited to 'config')
-rw-r--r--config/global.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/global.php b/config/global.php
index 17d7b9e012..fbc6d16c9d 100644
--- a/config/global.php
+++ b/config/global.php
@@ -13,7 +13,7 @@ return array(
'path.misc.user' => 'misc/user/',
'path.tmp' => function (ContainerInterface $c) {
- $root = $c->get('path.root');
+ $root = PIWIK_USER_PATH;
// TODO remove that special case and instead have plugins override 'path.tmp' to add the instance id
if ($c->has('ini.General.instance_id')) {