set installed version in config file

This commit is contained in:
Robin Appelman 2011-07-28 22:16:19 +02:00
parent 0ab6e03863
commit 9e7baba977
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ class OC_SETUP {
//write the config file
OC_CONFIG::setValue('datadirectory', $datadir);
OC_CONFIG::setValue('dbtype', $dbtype);
OC_CONFIG::setValue('version',implode('.',OC_UTIL::getVersion()));
if($dbtype == 'mysql') {
$dbuser = $options['dbuser'];
$dbpass = $options['dbpass'];