diff --git a/contrib/updatecheck/index.php b/contrib/updatecheck/index.php index 7fa4dc7a..9a0d92c3 100644 --- a/contrib/updatecheck/index.php +++ b/contrib/updatecheck/index.php @@ -9,12 +9,35 @@ if (substr($agent, 0, 5)==='ebusd') { exit; } readVersions(); +$ref = @file_get_contents('ebusd-configuration/.git/refs/heads/master'); ?> - ebusd update check service + ebusd update check webservice -

latest ebusd version:

last update:

+git revision: ".substr($ref, 0, 7).'

'; + } +?> +

latest ebusd version:

+

config files: +$str\n"; + } else { + echo "
$str\n"; + } + }; + array_walk($versions, $func); +?> +