mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Cache IDs grouped by site first
This commit is contained in:
parent
d053c9aaac
commit
292aaf6530
2
cache/Cache.php
vendored
2
cache/Cache.php
vendored
@ -175,7 +175,7 @@ class SS_Cache {
|
|||||||
$backend = self::$backends[$backend_name];
|
$backend = self::$backends[$backend_name];
|
||||||
|
|
||||||
$basicOptions = array(
|
$basicOptions = array(
|
||||||
'cache_id_prefix' => $for . '_' . md5(BASE_PATH) . '_',
|
'cache_id_prefix' => md5(BASE_PATH) . '_' . $for . '_',
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($cache_lifetime >= 0) {
|
if ($cache_lifetime >= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user