diff options
Diffstat (limited to 'lib/setup.php')
-rw-r--r-- | lib/setup.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/setup.php b/lib/setup.php index 63ba4daab54..f9bc6fd1bdd 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -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']; |