This commit is contained in:
2019-06-30 18:24:37 +02:00
parent 09bc0ec977
commit d123184d1d
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ function maskWord($word) {
} }
function getAllWords() { function getAllWords() {
return include("words-array.php"); return file_get_contents("words-array.php");
} }

View File

@@ -3,7 +3,7 @@
require_once(__DIR__ . "/hangman_lib.php"); require_once(__DIR__ . "/hangman_lib.php");
$arr = array("lala", "lalalala"); $arr = getAllWords();
echo <<<END echo <<<END
<table style="width:100%"> <table style="width:100%">