diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-28 22:16:19 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-28 23:34:39 +0200 |
commit | f1c2b5b304c2dab05468c82dc133155cc3b1fa7f (patch) | |
tree | d4a3c8932aa132ed8ed6f0816435132ce484b8be | |
parent | 20f5a9f085f6a1f89ccb28738704e7294571b971 (diff) | |
download | nextcloud-server-f1c2b5b304c2dab05468c82dc133155cc3b1fa7f.tar.gz nextcloud-server-f1c2b5b304c2dab05468c82dc133155cc3b1fa7f.zip |
set installed version in config file
-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']; |