aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorJeroen Dalsem <jdalsem@coldtrick.com>2012-05-15 11:01:31 +0300
committerJeroen Dalsem <jdalsem@coldtrick.com>2012-05-15 11:01:31 +0300
commit8da19c18b2c3faab374242dfa4ceee1ab5d6f1c2 (patch)
treec9db3e180d3d0e175ef77bf0e9b961826b3161fc /engine/lib
parent40d35166d3f2211ab76943834a983330413ab761 (diff)
downloadelgg-8da19c18b2c3faab374242dfa4ceee1ab5d6f1c2.tar.gz
elgg-8da19c18b2c3faab374242dfa4ceee1ab5d6f1c2.tar.bz2
correctly registering js language. Otherwise the simple cache will not work and will constantly regenerate the cached views (which is a big issue)
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/languages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index bf6829a39..7a508d298 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -344,7 +344,7 @@ function get_missing_language_keys($language) {
*/
function elgg_languages_init() {
$lang = get_current_language();
- elgg_register_simplecache_view("cache/js/languages/$lang");
+ elgg_register_simplecache_view("js/languages/$lang");
}
elgg_register_event_handler('init', 'system', 'elgg_languages_init');