diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-02-23 10:23:39 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-02-23 10:23:39 -0500 |
commit | 58ebe3f9d266a8c641b7c7751578c4cfb22a352a (patch) | |
tree | c232771d3c840a820326a55d76e556d0a25a6451 /engine/lib/cache.php | |
parent | 1a2c97886f7335509ed1e1f65aff4464a32e01eb (diff) | |
download | elgg-58ebe3f9d266a8c641b7c7751578c4cfb22a352a.tar.gz elgg-58ebe3f9d266a8c641b7c7751578c4cfb22a352a.tar.bz2 |
Fixes #4840 reload translations now pulls languages from cache when system cache is on
Diffstat (limited to 'engine/lib/cache.php')
-rw-r--r-- | engine/lib/cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/cache.php b/engine/lib/cache.php index 74644019c..59359124e 100644 --- a/engine/lib/cache.php +++ b/engine/lib/cache.php @@ -444,7 +444,7 @@ function _elgg_cache_init() { if ($CONFIG->system_cache_enabled && !$CONFIG->i18n_loaded_from_cache) { reload_all_translations(); foreach ($CONFIG->translations as $lang => $map) { - elgg_save_system_cache("$lang.php", serialize($map)); + elgg_save_system_cache("$lang.lang", serialize($map)); } } } |