second half of the updating stuff
This commit is contained in:
parent
949bd2c47a
commit
7df9d934ca
|
@ -94,7 +94,6 @@ class OC_Config{
|
||||||
|
|
||||||
// Write changes
|
// Write changes
|
||||||
self::writeData();
|
self::writeData();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,6 +77,8 @@ class OC_Setup {
|
||||||
OC_Config::setValue('datadirectory', $datadir);
|
OC_Config::setValue('datadirectory', $datadir);
|
||||||
OC_Config::setValue('dbtype', $dbtype);
|
OC_Config::setValue('dbtype', $dbtype);
|
||||||
OC_Config::setValue('version',implode('.',OC_Util::getVersion()));
|
OC_Config::setValue('version',implode('.',OC_Util::getVersion()));
|
||||||
|
OC_Config::setValue('installedat',microtime(true));
|
||||||
|
OC_Config::setValue('lastupdatedat',microtime(true));
|
||||||
if($dbtype == 'mysql') {
|
if($dbtype == 'mysql') {
|
||||||
$dbuser = $options['dbuser'];
|
$dbuser = $options['dbuser'];
|
||||||
$dbpass = $options['dbpass'];
|
$dbpass = $options['dbpass'];
|
||||||
|
|
|
@ -50,7 +50,9 @@
|
||||||
};?>
|
};?>
|
||||||
|
|
||||||
<p class="personalblock">
|
<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>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue