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:
martinhaas
2007-12-03 10:10:29 +00:00
parent 9d4375c1b0
commit 789595a0c7
6 changed files with 54 additions and 19 deletions

View File

@@ -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++)