Update
This commit is contained in:
@@ -40,7 +40,7 @@ function maskWord($word) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getAllWords() {
|
function getAllWords() {
|
||||||
return include("words-array.php");
|
return file_get_contents("words-array.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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%">
|
||||||
|
Reference in New Issue
Block a user