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 /actions/admin/site | |
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 'actions/admin/site')
-rw-r--r-- | actions/admin/site/update_basic.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php index 4ad80ca96..25500067a 100644 --- a/actions/admin/site/update_basic.php +++ b/actions/admin/site/update_basic.php @@ -27,7 +27,9 @@ $site->url = get_input('wwwroot');
datalist_set('path',get_input('path'));
- datalist_set('dataroot',get_input('dataroot'));
+ datalist_set('dataroot',get_input('dataroot')); + + set_config('language', get_input('language'), $site->getGUID());
system_message(elgg_echo("admin:configuration:success"));
|