This commit is contained in:
2019-06-30 18:45:32 +02:00
parent 1e366bed08
commit 3a745ac1e1

View File

@@ -42,6 +42,8 @@ function maskWord($word) {
function getAllWords() { function getAllWords() {
$str = file_get_contents("words-array.php"); $str = file_get_contents("words-array.php");
$str = str_replace('"', '', $str); $str = str_replace('"', '', $str);
$str = str_replace('[', '', $str);
$str = str_replace(']', '', $str);
return explode(", ", $str); return explode(", ", $str);
} }