aboutsummaryrefslogtreecommitdiff
path: root/actions/systemsettings/install.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-02 12:58:52 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-02 12:58:52 +0000
commitddca3fc89a7c1ce26e33020b10401b4eb4592194 (patch)
tree80f2f45c4594fed6d4a6acbbd0ecab1a08e2e6f3 /actions/systemsettings/install.php
parent4cf87cd1f558593fe7047440806bc6b7d32e83ee (diff)
downloadelgg-ddca3fc89a7c1ce26e33020b10401b4eb4592194.tar.gz
elgg-ddca3fc89a7c1ce26e33020b10401b4eb4592194.tar.bz2
Fixed a bug where the site was private unless you were logged out ...
git-svn-id: https://code.elgg.org/elgg/trunk@622 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/systemsettings/install.php')
-rw-r--r--actions/systemsettings/install.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index d1ed6b6a2..67073e6f8 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -20,6 +20,7 @@
$site = new ElggSite();
$site->name = get_input('sitename');
$site->url = get_input('wwwroot');
+ $site->access_id = 2; // The site is public
$site->save();
datalist_set('path',get_input('path'));