diff options
author | xue <> | 2005-12-23 03:32:45 +0000 |
---|---|---|
committer | xue <> | 2005-12-23 03:32:45 +0000 |
commit | ae8311e9de8d9d467506b74d387500956f164d4d (patch) | |
tree | 51e63c2cfa729c28ca0a8b610fdf072ab1d22d02 /demos/hangman/protected/pages/HomePage.php | |
parent | 153581e1081ba4225eb93221aced493709cb606c (diff) |
Diffstat (limited to 'demos/hangman/protected/pages/HomePage.php')
-rw-r--r-- | demos/hangman/protected/pages/HomePage.php | 2 |
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
{
|