diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-10 15:19:50 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-10 15:19:50 +0000 |
commit | ddc0a635249c9cc4052b5174416a80de9aff7434 (patch) | |
tree | 4ab80bd31dc91f37cc24f7b17810c149c73da7a6 /engine/lib/languages.php | |
parent | 1ff1c02380220c937d5993900fc9bc46817259a5 (diff) | |
download | elgg-ddc0a635249c9cc4052b5174416a80de9aff7434.tar.gz elgg-ddc0a635249c9cc4052b5174416a80de9aff7434.tar.bz2 |
Fix for language pack loading.
git-svn-id: https://code.elgg.org/elgg/trunk@852 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/languages.php')
-rw-r--r-- | engine/lib/languages.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php index 8781110b7..a9bb46516 100644 --- a/engine/lib/languages.php +++ b/engine/lib/languages.php @@ -80,7 +80,8 @@ */
function init_translations() {
global $CONFIG;
- register_translations($CONFIG->path . "languages/");
+ // register_translations($CONFIG->path . "languages/");
+ register_translations(dirname(dirname(dirname(__FILE__))) . "/languages/");
}
|