mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
39 lines
1.2 KiB
PHP
39 lines
1.2 KiB
PHP
<?php
|
|
if ( $_SERVER['REQUEST_METHOD'] != "GET" && $_SERVER['REQUEST_METHOD'] != "POST" ) {
|
|
/**
|
|
* If the request is not a GET or POST then they must really want caldav.php!
|
|
*/
|
|
include("./caldav.php");
|
|
exit; // Not that it should return from that!
|
|
}
|
|
|
|
include("../inc/always.php");
|
|
include("DAViCalSession.php");
|
|
$session->LoginRequired();
|
|
|
|
include("interactive-page.php");
|
|
include("page-header.php");
|
|
|
|
$want_dbversion = implode('.',$c->want_dbversion);
|
|
|
|
echo <<<EOBODY
|
|
<h1>Upgrade</h1>
|
|
<p>Currently this page does nothing. Suggestions or patches to make it do something
|
|
useful will be gratefully received.
|
|
<br>
|
|
</p>
|
|
<h2>Current Versions</h2>
|
|
You are currently running DAViCal version $c->version_string.
|
|
The database schema should be at version $want_dbversion and it is at version $c->schema_major.$c->schema_minor.$c->schema_patch.
|
|
<br>
|
|
</p>
|
|
<h2>Upgrading DAViCal Versions</h2>
|
|
<p>The <a href="http://wiki.davical.org/w/Update-davical-database">update-davical-database</a> should be run
|
|
manually after upgrading the software to a new version of DAViCal.</p>
|
|
|
|
<p>In due course this program will implement the functionality which is currently contained in that
|
|
script, but until then I'm afraid you do need to run it.
|
|
EOBODY;
|
|
|
|
include("page-footer.php");
|