mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '3.6' into 3
This commit is contained in:
commit
016e0e657a
4
cache/Cache.php
vendored
4
cache/Cache.php
vendored
@ -174,7 +174,9 @@ class SS_Cache {
|
||||
|
||||
$backend = self::$backends[$backend_name];
|
||||
|
||||
$basicOptions = array('cache_id_prefix' => $for);
|
||||
$basicOptions = array(
|
||||
'cache_id_prefix' => md5(BASE_PATH) . '_' . $for . '_',
|
||||
);
|
||||
|
||||
if ($cache_lifetime >= 0) {
|
||||
$basicOptions['lifetime'] = $cache_lifetime;
|
||||
|
@ -115,7 +115,8 @@ class SS_ConfigManifest {
|
||||
{
|
||||
return SS_Cache::factory('SS_Configuration', 'Core', array(
|
||||
'automatic_serialization' => true,
|
||||
'lifetime' => null
|
||||
'lifetime' => null,
|
||||
'cache_id_prefix' => 'SS_Configuration_',
|
||||
));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user