diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 13:32:43 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 13:32:43 +0000 |
commit | c3a4bafc3f3f0984e8751e00e024ab8c09e0ff1b (patch) | |
tree | 78da419433a8ee844225cd8e436b724a1c832efc /actions | |
parent | 64876aa88b223a8f368a7669b7e129847248fab7 (diff) | |
download | elgg-c3a4bafc3f3f0984e8751e00e024ab8c09e0ff1b.tar.gz elgg-c3a4bafc3f3f0984e8751e00e024ab8c09e0ff1b.tar.bz2 |
Fixes #18: Set default view type in admin
http://trac.elgg.org/elgg/ticket/18
git-svn-id: https://code.elgg.org/elgg/trunk@963 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r-- | actions/admin/site/update_basic.php | 2 | ||||
-rw-r--r-- | actions/systemsettings/install.php | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php index 830df9ad1..ae48da8f8 100644 --- a/actions/admin/site/update_basic.php +++ b/actions/admin/site/update_basic.php @@ -31,6 +31,8 @@ set_config('language', get_input('language'), $site->getGUID()); + set_config('view', get_input('view'), $site->getGUID()); + $debug = get_input('debug'); if ($debug) set_config('debug', 1, $site->getGUID()); diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php index 30f501f36..f18844ce1 100644 --- a/actions/systemsettings/install.php +++ b/actions/systemsettings/install.php @@ -33,6 +33,7 @@ datalist_set('default_site',$site->getGUID()); + set_config('view', get_input('view'), $site->getGUID()); set_config('language', get_input('language'), $site->getGUID()); $debug = get_input('debug'); |