update update check service location

This commit is contained in:
John
2021-12-11 14:31:41 +01:00
parent 749432707a
commit 125320343a
6 changed files with 11 additions and 10 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
ebusd.eu config webservice
==========================
This is the code running on the ebusd.eu config webservice that allows ebusd to download the needed CSV configuration files instead of having to install the ebusd-configuration package.
It is enabled by default in ebusd due to the default value of the `--configpath=http://ebusd.eu/config/` commandline option.
This is the code of the webservice at http://cfg.ebusd.eu/ that allows ebusd to download the needed CSV configuration
files instead of having to install the ebusd-configuration package.
It is enabled by default in ebusd due to the default value of the `--configpath=http://cfg.ebusd.eu/` commandline option.
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
$agent = $_SERVER['HTTP_USER_AGENT'];
if (substr($agent, 0, 5)!=='ebusd') {
header('HTTP/1.1 404 Not Found');
header('Location: https://upd.ebusd.eu/', true, 301);
exit;
}
$p=@$_REQUEST['p'];
+2 -1
View File
@@ -2,7 +2,8 @@
ebusd.eu update webservice
==========================
This is the code running on the ebusd.eu update webservice that allows ebusd to check its own version and the configuration files for availability of new versions.
This is the code of the webservice at http://upd.ebusd.eu/ that allows ebusd to check its own version and the
configuration files for availability of new versions.
It is enabled by default in ebusd due to the default value of the `--updatecheck=on` commandline option.