Update words function to use default language.
This commit is contained in:
parent
a3464d866e
commit
c1b5c73859
|
@ -133,7 +133,7 @@ function rand_words($onewordmode) {
|
||||||
$num++;
|
$num++;
|
||||||
$words = array();
|
$words = array();
|
||||||
if (is_integer($num)) {
|
if (is_integer($num)) {
|
||||||
$wordlist = file("/usr/share/dict/british");
|
$wordlist = file("/usr/share/dict/words");
|
||||||
for ($word=1; $word < $num; $word++) {
|
for ($word=1; $word < $num; $word++) {
|
||||||
$words[] = $wordlist[rand(0,count($wordlist))];
|
$words[] = $wordlist[rand(0,count($wordlist))];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue