diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-28 22:16:19 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-28 22:16:19 +0200 |
commit | 9e7baba9772ee29b936b297e8869e06f33a30f04 (patch) | |
tree | da8a3da642779341d908dcc330a1f6001cdeaede /lib/setup.php | |
parent | 0ab6e038631793e110af3ef9172798f6f35c9843 (diff) | |
download | nextcloud-server-9e7baba9772ee29b936b297e8869e06f33a30f04.tar.gz nextcloud-server-9e7baba9772ee29b936b297e8869e06f33a30f04.zip |
set installed version in config file
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']; |