Use MD_STD::json_encode over the generic json_encode
This commit is contained in:
parent
1c5d451619
commit
5e7313f166
|
@ -100,7 +100,7 @@ final class MD_STD_SEC {
|
|||
$loginLog['ip'][$hash_ip]['time'] = \time();
|
||||
|
||||
// Update the log file
|
||||
\file_put_contents($logfile_common, \json_encode($loginLog));
|
||||
\file_put_contents($logfile_common, MD_STD::json_encode($loginLog));
|
||||
|
||||
// Translate counters into delay multipliers
|
||||
$delay_multiplier_common = $loginLog['common']['count'];
|
||||
|
|
Loading…
Reference in New Issue
Block a user