add device version to update check

This commit is contained in:
John
2022-12-17 17:50:28 +01:00
parent c488156df1
commit 4c2c198842
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ if (substr($agent, 0, 5)==='ebusd') {
$r = @file_get_contents('php://input');
header('Content-Type: text/plain');
$r = @json_decode($r, true);
echo checkUpdate(@$r['v'], @$r['r'], @$r['a'], @$r['l']);
echo checkUpdate(@$r['v'], @$r['r'], @$r['a'], @$r['dv'], @$r['l']);
exit;
}
readVersions();