fix: undefined variable $logrotatefile when rotating speciallogfile
This commit is contained in:
@@ -236,6 +236,8 @@ while($row = $db->fetch_array($result))
|
|||||||
reset($speciallogfile_domainlist[$row['customerid']]);
|
reset($speciallogfile_domainlist[$row['customerid']]);
|
||||||
foreach($speciallogfile_domainlist[$row['customerid']] as $domainid => $domain)
|
foreach($speciallogfile_domainlist[$row['customerid']] as $domainid => $domain)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$logrotatefile = '/tmp/froxlor_logrotate_tmpfile.conf';
|
||||||
$fh = fopen($logrotatefile, 'w');
|
$fh = fopen($logrotatefile, 'w');
|
||||||
|
|
||||||
$logconf = '# ' . basename($logrotatefile) . "\n" . '# Created ' . date('d.m.Y H:i') . "\n" .
|
$logconf = '# ' . basename($logrotatefile) . "\n" . '# Created ' . date('d.m.Y H:i') . "\n" .
|
||||||
|
|||||||
Reference in New Issue
Block a user