mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Include current version number in update version check.
This commit is contained in:
parent
d49d2dc935
commit
16089c6475
@ -50,7 +50,7 @@ function check_schema_version() {
|
||||
|
||||
function check_davical_version() {
|
||||
global $c;
|
||||
$url = 'http://www.davical.org/current_davical_version';
|
||||
$url = 'http://www.davical.org/current_davical_version?v='$c->version_string;
|
||||
$version_file = @fopen($url, 'r');
|
||||
if ( ! $version_file ) return "Could not retrieve '$url'";
|
||||
$current_version = trim(fread( $version_file,12));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user