summaryrefslogtreecommitdiff
path: root/demos/hangman/protected/pages/HomePage.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/hangman/protected/pages/HomePage.php')
-rw-r--r--demos/hangman/protected/pages/HomePage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/hangman/protected/pages/HomePage.php b/demos/hangman/protected/pages/HomePage.php
index ed030d2f..6e0388bc 100644
--- a/demos/hangman/protected/pages/HomePage.php
+++ b/demos/hangman/protected/pages/HomePage.php
@@ -19,7 +19,7 @@ class HomePage extends TPage
$this->LevelError->Visible=true;
return;
}
- $wordFile=Prado::getPathOfNamespace($this->Application->Parameters['wordFile'],'.txt');
+ $wordFile=dirname(__FILE__).'/words.txt';
$words=preg_split("/[\s,]+/",file_get_contents($wordFile));
do
{