mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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() {
|
static function get_translators() {
|
||||||
if(!self::$translators) {
|
if(!self::$translators) {
|
||||||
Zend_Translate::setCache(
|
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;
|
$defaultPriority = 10;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user