Fix: Error 500 on health.php and export button missing.

This commit is contained in:
Johnnybegood90 committed 2026-03-15 01:50:35 +01:00
1 parent a81e33ccb8
commit 214a2b9cc5
4 files changed
+10 -1

No files matched your search

+3
View File
@@ -14,6 +14,9 @@ function health_status_label(bool $ok): string {
}
function health_parse_xmltv(string $xml): array {
if (!class_exists('DOMDocument')) {
return ['ok' => false, 'error' => 'PHP DOM/XML extension is not installed.'];
}
if ($xml === '') {
return ['ok' => false, 'error' => 'Empty response'];
}