summaryrefslogtreecommitdiff
path: root/demos/hangman/protected/pages/HomePage.php
diff options
context:
space:
mode:
authorxue <>2005-12-23 03:32:45 +0000
committerxue <>2005-12-23 03:32:45 +0000
commitae8311e9de8d9d467506b74d387500956f164d4d (patch)
tree51e63c2cfa729c28ca0a8b610fdf072ab1d22d02 /demos/hangman/protected/pages/HomePage.php
parent153581e1081ba4225eb93221aced493709cb606c (diff)
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
{