mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Infinite cache
This commit is contained in:
parent
796975f53b
commit
652f0ec007
@ -1490,7 +1490,7 @@ class i18n extends Object implements TemplateGlobalProvider {
|
||||
static function get_translators() {
|
||||
if(!self::$translators) {
|
||||
Zend_Translate::setCache(
|
||||
SS_Cache::factory('i18n', 'Output', array('lifetime' => -1, 'automatic_serialization' => true))
|
||||
SS_Cache::factory('i18n', 'Output', array('lifetime' => null, 'automatic_serialization' => true))
|
||||
);
|
||||
|
||||
$defaultPriority = 10;
|
||||
|
Loading…
Reference in New Issue
Block a user