summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-28 22:16:19 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-28 23:34:39 +0200
commitf1c2b5b304c2dab05468c82dc133155cc3b1fa7f (patch)
treed4a3c8932aa132ed8ed6f0816435132ce484b8be
parent20f5a9f085f6a1f89ccb28738704e7294571b971 (diff)
downloadnextcloud-server-f1c2b5b304c2dab05468c82dc133155cc3b1fa7f.tar.gz
nextcloud-server-f1c2b5b304c2dab05468c82dc133155cc3b1fa7f.zip
set installed version in config file
-rw-r--r--lib/setup.php1
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'];