diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 10:06:36 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 10:06:36 +0000 |
commit | d5a0e61b33283eb5e0f042cfd29ab6f8bbd5ae02 (patch) | |
tree | 52d502e8de49b16f9760b1226d87041f1ccab9f7 /engine/lib/configuration.php | |
parent | daa6c61e5203d5daafee85e580b54b7af92d35ac (diff) | |
download | elgg-d5a0e61b33283eb5e0f042cfd29ab6f8bbd5ae02.tar.gz elgg-d5a0e61b33283eb5e0f042cfd29ab6f8bbd5ae02.tar.bz2 |
Fixes #19: Default language selector
http://trac.elgg.org/elgg/ticket/19
git-svn-id: https://code.elgg.org/elgg/trunk@960 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/configuration.php')
-rw-r--r-- | engine/lib/configuration.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php index 48eeeebfc..acb651170 100644 --- a/engine/lib/configuration.php +++ b/engine/lib/configuration.php @@ -129,6 +129,8 @@ if (empty($CONFIG->sitename))
$CONFIG->sitename = "New Elgg site";
+ if (empty($CONFIG->language)) + $CONFIG->language = "en"; }
|