From 4cf87cd1f558593fe7047440806bc6b7d32e83ee Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 2 May 2008 12:40:38 +0000 Subject: The system now uses the site GUID to get and set entity data. Also, installation is a great deal more visual. git-svn-id: https://code.elgg.org/elgg/trunk@621 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/systemsettings/install.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 actions/systemsettings/install.php (limited to 'actions/systemsettings') diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php new file mode 100644 index 000000000..d1ed6b6a2 --- /dev/null +++ b/actions/systemsettings/install.php @@ -0,0 +1,38 @@ +name = get_input('sitename'); + $site->url = get_input('wwwroot'); + $site->save(); + + datalist_set('path',get_input('path')); + datalist_set('dataroot',get_input('dataroot')); + + datalist_set('default_site',$site->getGUID()); + + system_message(elgg_echo("installation:configuration:success")); + + forward("register.php"); + + } + + } + +?> \ No newline at end of file -- cgit v1.2.3