From ae8311e9de8d9d467506b74d387500956f164d4d Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 23 Dec 2005 03:32:45 +0000 Subject: --- demos/hangman/protected/pages/HomePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/hangman/protected/pages/HomePage.php') 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 { -- cgit v1.2.3