second half of the updating stuff

remotes/origin/stable
Frank Karlitschek 14 years ago
parent 949bd2c47a
commit 7df9d934ca
  1. 1
      lib/config.php
  2. 2
      lib/setup.php
  3. 4
      settings/templates/personal.php

@ -94,7 +94,6 @@ class OC_Config{
// Write changes
self::writeData();
return true;
}

@ -77,6 +77,8 @@ class OC_Setup {
OC_Config::setValue('datadirectory', $datadir);
OC_Config::setValue('dbtype', $dbtype);
OC_Config::setValue('version',implode('.',OC_Util::getVersion()));
OC_Config::setValue('installedat',microtime(true));
OC_Config::setValue('lastupdatedat',microtime(true));
if($dbtype == 'mysql') {
$dbuser = $options['dbuser'];
$dbpass = $options['dbpass'];

@ -50,7 +50,9 @@
};?>
<p class="personalblock">
<strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?>, <a href="http://gitorious.org/owncloud" target="_blank">source code</a> licensed freely under <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank">AGPL</a>
<strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?><br />
<?php echo(OC_Updater::ShowUpdatingHint()); ?><br />
<a href="http://gitorious.org/owncloud" target="_blank">source code</a> licensed freely under <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank">AGPL</a>
</p>

Loading…
Cancel
Save