fix explode
This commit is contained in:
parent
8927c71b69
commit
62dd5c275d
1 changed files with 1 additions and 1 deletions
|
@ -607,7 +607,7 @@ $register->set('geodb', function () {
|
||||||
});
|
});
|
||||||
$register->set('passwordsDictionary', function () {
|
$register->set('passwordsDictionary', function () {
|
||||||
$content = \file_get_contents(__DIR__ . '/assets/security/10k-common-passwords');
|
$content = \file_get_contents(__DIR__ . '/assets/security/10k-common-passwords');
|
||||||
$content = explode('\n', $content);
|
$content = explode("\n", $content);
|
||||||
$content = array_flip($content);
|
$content = array_flip($content);
|
||||||
return $content;
|
return $content;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue