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 | |
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')
-rw-r--r-- | actions/admin/site/update_basic.php | 4 | ||||
-rw-r--r-- | actions/systemsettings/install.php | 4 |
2 files changed, 6 insertions, 2 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"));
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php index b56a86f6c..06a40e167 100644 --- a/actions/systemsettings/install.php +++ b/actions/systemsettings/install.php @@ -31,7 +31,9 @@ datalist_set('path',get_input('path'));
datalist_set('dataroot',get_input('dataroot'));
- datalist_set('default_site',$site->getGUID());
+ datalist_set('default_site',$site->getGUID()); + + set_config('language', get_input('language'), $site->getGUID());
system_message(elgg_echo("installation:configuration:success"));
|