mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Some modificatio and repair
This commit is contained in:
1 parent
fc3d3d5930
commit
ca5b221bc1
5 files changed
+27
-21
No files matched your search
@@ -35,7 +35,7 @@ class LogManager
|
||||
}
|
||||
|
||||
public function __destruct(){
|
||||
if (isset($this->logFile)) {
|
||||
if (isset($this->logFile) && $this->logFile != "Unable to open file!") {
|
||||
fclose($this->logFile);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user