lesemethode für file angepasst

This commit is contained in:
2024-11-27 15:53:40 +01:00
parent e1b22e4587
commit ef10b51770
2 changed files with 3 additions and 6 deletions

View File

@@ -69,13 +69,10 @@ class CC100_HW extends IPSModule
private function readAndConvertToBools($filePath)
{
// Überprüfen, ob die Datei existiert und lesbar ist
if (!file_exists($filePath) || !is_readable($filePath)) {
break;
}
// Inhalt der Datei auslesen
$content = file_get_contents($filePath);
$content = @file_get_contents($filePath);
if ($content === false) {
throw new Exception("Fehler beim Lesen der Datei $filePath.");

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.153",
"version": "0.154",
"build": 0,
"date": 0
}