Browse Source

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

pull/9/head
Fred Tempez 2 years ago
parent
commit
e19e6548ee
  1. 2
      core/module/config/config.php

2
core/module/config/config.php

@ -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…
Cancel
Save