fix: undefined variable $logrotatefile when rotating speciallogfile

This commit is contained in:
Chris Vigelius
2012-09-24 10:56:41 +02:00
parent 24fb46b3d7
commit 10cda9f5a9

View File

@@ -236,6 +236,8 @@ while($row = $db->fetch_array($result))
reset($speciallogfile_domainlist[$row['customerid']]);
foreach($speciallogfile_domainlist[$row['customerid']] as $domainid => $domain)
{
$logrotatefile = '/tmp/froxlor_logrotate_tmpfile.conf';
$fh = fopen($logrotatefile, 'w');
$logconf = '# ' . basename($logrotatefile) . "\n" . '# Created ' . date('d.m.Y H:i') . "\n" .