From f1c2b5b304c2dab05468c82dc133155cc3b1fa7f Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 28 Jul 2011 22:16:19 +0200 Subject: [PATCH] set installed version in config file --- lib/setup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/setup.php b/lib/setup.php index 63ba4daab5..f9bc6fd1bd 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'];