Update words function to use default language.

This commit is contained in:
Ceda EI 2018-06-23 15:15:11 +05:30
parent a3464d866e
commit c1b5c73859
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ function rand_words($onewordmode) {
$num++;
$words = array();
if (is_integer($num)) {
$wordlist = file("/usr/share/dict/british");
$wordlist = file("/usr/share/dict/words");
for ($word=1; $word < $num; $word++) {
$words[] = $wordlist[rand(0,count($wordlist))];
}