From d5a0e61b33283eb5e0f042cfd29ab6f8bbd5ae02 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 18 Jun 2008 10:06:36 +0000 Subject: 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 --- actions/admin/site/update_basic.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'actions/admin') 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")); -- cgit v1.2.3