From 4dcfd46b8b6e3bbe9c12493e744be04d8861684e Mon Sep 17 00:00:00 2001 From: brettp Date: Sun, 10 Jan 2010 21:21:11 +0000 Subject: Fixes #1432: Version number is set during installation. Refs #1424: The upgrade functions now detect if no version number is saved to the db and silences all upgrade warnings and errors. This is required for all installations < this commit to upgrade correctly because of #1432. More strict regex for finding upgrade files. Upgrade mysql.sql schema with latest. git-svn-id: http://code.elgg.org/elgg/trunk@3791 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/systemsettings/install.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'actions/systemsettings/install.php') diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php index c4f563beb..3e401bb5c 100644 --- a/actions/systemsettings/install.php +++ b/actions/systemsettings/install.php @@ -52,11 +52,10 @@ if (get_input('settings') == 'go') { } datalist_set('installed',time()); - datalist_set('path', $path); datalist_set('dataroot', $dataroot); - - datalist_set('default_site',$site->getGUID()); + datalist_set('default_site', $site->getGUID()); + datalist_set('version', get_version()); set_config('view', get_input('view'), $site->getGUID()); set_config('language', get_input('language'), $site->getGUID()); -- cgit v1.2.3