update update check service location
This commit is contained in:
@@ -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,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,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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user