diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-25 10:30:20 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-25 10:30:20 +0000 |
commit | 627060b324f43ebe63af4a705a70673096f33607 (patch) | |
tree | 46bca50d3a535a56166186152f76529ca2171b9a /actions | |
parent | 92c64ceb9fc3b1d5931336d18c78a4176eac6463 (diff) | |
download | elgg-627060b324f43ebe63af4a705a70673096f33607.tar.gz elgg-627060b324f43ebe63af4a705a70673096f33607.tar.bz2 |
Now possible to specify a site description.
git-svn-id: https://code.elgg.org/elgg/trunk@1523 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r-- | actions/admin/site/update_basic.php | 3 | ||||
-rw-r--r-- | actions/systemsettings/install.php | 3 |
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();
|