aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/admin/site/update_basic.php3
-rw-r--r--actions/systemsettings/install.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php
index 8645d9f9b..d45e54e76 100644
--- a/actions/admin/site/update_basic.php
+++ b/actions/admin/site/update_basic.php
@@ -25,7 +25,8 @@
$site = get_entity(datalist_get('default_site'));
if (!($site instanceof ElggSite))
throw new InstallationException(elgg_echo('InvalidParameterException:NonElggSite'));
-
+
+ $site->description = get_input('sitedescription');
$site->name = get_input('sitename');
$site->url = get_input('wwwroot');
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index db7b89a88..f6832843e 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -19,7 +19,8 @@
$site = new ElggSite();
$site->name = get_input('sitename');
- $site->url = get_input('wwwroot');
+ $site->url = get_input('wwwroot');
+ $site->description = get_input('sitedescription');
$site->access_id = 2; // The site is public
$guid = $site->save();