1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +12:00

fix explode

This commit is contained in:
Damodar Lohani 2022-12-27 06:16:19 +00:00
parent 8927c71b69
commit 62dd5c275d

View file

@ -607,7 +607,7 @@ $register->set('geodb', function () {
});
$register->set('passwordsDictionary', function () {
$content = \file_get_contents(__DIR__ . '/assets/security/10k-common-passwords');
$content = explode('\n', $content);
$content = explode("\n", $content);
$content = array_flip($content);
return $content;
});