aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/admin/site/update_basic.php4
-rw-r--r--actions/systemsettings/install.php4
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"));