add updatecheck for v5

This commit is contained in:
John
2023-06-11 10:46:07 +02:00
parent 7f0328cbae
commit dd7c668af4
4 changed files with 19 additions and 9 deletions
+2 -2
View File
@@ -23,11 +23,11 @@ $ref = @file_get_contents('ebusd-configuration/.git/refs/heads/master');
}
?>
<p>latest ebusd version: <?=$versions['ebusd'][0]?></p>
<p>latest device firmware: <?=$versions['device'][0]?></p>
<p>latest device firmware: v5=<?=$versions['devicesame'][0]?>, v3*=<?=$versions['device'][0]?></p>
<p>config files:<table><thead><th>File</th><th>German</th><th>English</th></thead><tbody>
<?php
$func = function($v, $k) {
if ($k==='ebusd' || $k==='device') {
if ($k==='ebusd' || $k==='device' || $k==='devicesame') {
return;
}
echo "<tr><td>$k</td>";