set update-check-urls to api-version; started working on Customers-ApiCommand

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-02-16 10:56:27 +01:00
parent 4d12a4f37b
commit 2da2912c9c
5 changed files with 104 additions and 8 deletions

View File

@@ -85,7 +85,7 @@ if ($page == 'overview') {
if ((isset($_GET['lookfornewversion']) && $_GET['lookfornewversion'] == 'yes')
|| (isset($lookfornewversion) && $lookfornewversion == 'yes')
) {
$update_check_uri = 'http://version.froxlor.org/Froxlor/legacy/' . $version;
$update_check_uri = 'http://version.froxlor.org/Froxlor/api/' . $version;
$latestversion = HttpClient::urlGet($update_check_uri);
$latestversion = explode('|', $latestversion);