diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-11-05 07:11:24 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-11-05 07:11:24 +0300 |
commit | dd39a1c3064771ec4751ae8d5b9e34e3574ac436 (patch) | |
tree | f9f828bea038a81ebd066a295c86ab0149286c8e /config | |
parent | d7ef0224fcd17edee621abfe8ece8c37b6d5b8ba (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.php | 2 |
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')) { |