Make sure different webroots use different cached paths
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
00c3f807db
commit
77577b952b
|
@ -377,7 +377,7 @@ class Server extends ServerContainer implements IServerContainer {
|
||||||
$version = implode(',', $v);
|
$version = implode(',', $v);
|
||||||
$instanceId = \OC_Util::getInstanceId();
|
$instanceId = \OC_Util::getInstanceId();
|
||||||
$path = \OC::$SERVERROOT;
|
$path = \OC::$SERVERROOT;
|
||||||
$prefix = md5($instanceId . '-' . $version . '-' . $path);
|
$prefix = md5($instanceId . '-' . $version . '-' . $path . '-' . \OC::$WEBROOT);
|
||||||
return new \OC\Memcache\Factory($prefix, $c->getLogger(),
|
return new \OC\Memcache\Factory($prefix, $c->getLogger(),
|
||||||
$config->getSystemValue('memcache.local', null),
|
$config->getSystemValue('memcache.local', null),
|
||||||
$config->getSystemValue('memcache.distributed', null),
|
$config->getSystemValue('memcache.distributed', null),
|
||||||
|
|
Loading…
Reference in New Issue