forked from ZwiiCMS-Team/ZwiiCMS
10.2.dev25 en-têtes des logs + permissions des nouveaux fichiers
This commit is contained in:
parent
5151f64beb
commit
e19e6548ee
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user