aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2012-05-16 23:06:22 -0700
committerEvan Winslow <evan@elgg.org>2012-05-16 23:06:22 -0700
commit4a99e989504b8f86992a89c02c7365a7ca6dfcec (patch)
treec9db3e180d3d0e175ef77bf0e9b961826b3161fc
parent40d35166d3f2211ab76943834a983330413ab761 (diff)
parent8da19c18b2c3faab374242dfa4ceee1ab5d6f1c2 (diff)
downloadelgg-4a99e989504b8f86992a89c02c7365a7ca6dfcec.tar.gz
elgg-4a99e989504b8f86992a89c02c7365a7ca6dfcec.tar.bz2
Merge pull request #220 from jdalsem/patch-7
Correctly register js language view to simplecache
-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');