minor bugfix: rebuild picture of fht on every entry in the log (not only on change of measured-temp. Changes in fht.php
logrotate: better warning if there are wrong rights for the pgm3-logrotate git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@117 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -9,7 +9,7 @@ function LogRotate($array,$file,$logrotatelines)
|
||||
$filename=$file;
|
||||
|
||||
if (!$handle = fopen($filename, "w")) {
|
||||
print "Logrotate: cannot open $filename -- correct rights??";
|
||||
print "Logrotate: cannot open $filename -- correct rights?? Read the chapter in the config.php!";
|
||||
exit;
|
||||
}
|
||||
for ($x = $counter-$logrotatelines; $x < $counter; $x++)
|
||||
|
||||
Reference in New Issue
Block a user