diff options
author | Joas Schilling <coding@schilljs.com> | 2017-01-12 14:58:31 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-01-12 15:58:18 +0100 |
commit | 77577b952b06bb134562c081629f499d69f30c73 (patch) | |
tree | ee657b455c19a3463c0b4eaa53cb1572d77ab3a3 | |
parent | 00c3f807db59f69cac37429f1b4be424720371e3 (diff) | |
download | nextcloud-server-77577b952b06bb134562c081629f499d69f30c73.tar.gz nextcloud-server-77577b952b06bb134562c081629f499d69f30c73.zip |
Make sure different webroots use different cached paths
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/private/Server.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index d88a687bbc4..267838467c8 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -377,7 +377,7 @@ class Server extends ServerContainer implements IServerContainer { $version = implode(',', $v); $instanceId = \OC_Util::getInstanceId(); $path = \OC::$SERVERROOT; - $prefix = md5($instanceId . '-' . $version . '-' . $path); + $prefix = md5($instanceId . '-' . $version . '-' . $path . '-' . \OC::$WEBROOT); return new \OC\Memcache\Factory($prefix, $c->getLogger(), $config->getSystemValue('memcache.local', null), $config->getSystemValue('memcache.distributed', null), |