10.2.dev25 en-têtes des logs + permissions des nouveaux fichiers

This commit is contained in:
Fred Tempez 2020-06-03 10:13:15 +02:00
parent 5151f64beb
commit e19e6548ee

View File

@ -670,7 +670,7 @@ class config extends common {
$d = $this->getData(['blacklist']);
$data = '';
foreach ($d as $key => $item) {
$data .= strftime('%d/%m/%y',$item['lastFail']) . strftime('%R',$item['lastFail']) . ';' ;
$data .= strftime('%d/%m/%y',$item['lastFail']) . ';' . strftime('%R',$item['lastFail']) . ';' ;
$data .= $key . ';' . $item['ip'] . ';' . $item['connectFail'] . PHP_EOL;
}
file_put_contents($fileName,$data,FILE_APPEND);