diff --git a/cgi-bin/uebung08/hangman_lib.php b/cgi-bin/uebung08/hangman_lib.php index b04fcbc..7750efd 100644 --- a/cgi-bin/uebung08/hangman_lib.php +++ b/cgi-bin/uebung08/hangman_lib.php @@ -40,7 +40,9 @@ function maskWord($word) { } function getAllWords() { - return json_decode(file_get_contents("words-array.php"), true); + $str = file_get_contents("words-array.php"); + echo "lalala " . $str; + }