set installed version in config file
This commit is contained in:
parent
20f5a9f085
commit
f1c2b5b304
|
@ -76,6 +76,7 @@ class OC_SETUP {
|
||||||
//write the config file
|
//write the config file
|
||||||
OC_CONFIG::setValue('datadirectory', $datadir);
|
OC_CONFIG::setValue('datadirectory', $datadir);
|
||||||
OC_CONFIG::setValue('dbtype', $dbtype);
|
OC_CONFIG::setValue('dbtype', $dbtype);
|
||||||
|
OC_CONFIG::setValue('version',implode('.',OC_UTIL::getVersion()));
|
||||||
if($dbtype == 'mysql') {
|
if($dbtype == 'mysql') {
|
||||||
$dbuser = $options['dbuser'];
|
$dbuser = $options['dbuser'];
|
||||||
$dbpass = $options['dbpass'];
|
$dbpass = $options['dbpass'];
|
||||||
|
|
Loading…
Reference in New Issue