aboutsummaryrefslogtreecommitdiff
path: root/actions/systemsettings
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-10 21:21:11 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-10 21:21:11 +0000
commit4dcfd46b8b6e3bbe9c12493e744be04d8861684e (patch)
tree424b5dcb93bd68c87a022fb8d206932017b3d782 /actions/systemsettings
parent80add6be750f65bea1108d306201b7f90ae5f88a (diff)
downloadelgg-4dcfd46b8b6e3bbe9c12493e744be04d8861684e.tar.gz
elgg-4dcfd46b8b6e3bbe9c12493e744be04d8861684e.tar.bz2
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
Diffstat (limited to 'actions/systemsettings')
-rw-r--r--actions/systemsettings/install.php5
1 files changed, 2 insertions, 3 deletions
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());