summaryrefslogtreecommitdiff
path: root/demos/hangman
diff options
context:
space:
mode:
authorxue <>2005-12-21 17:06:12 +0000
committerxue <>2005-12-21 17:06:12 +0000
commite08aa82e5e4d2bc06bb8f98654806a15bdefc994 (patch)
treebfd7e9c2ac2cf365d7a22bfa5dbb0f1d63cbd30a /demos/hangman
parent2a940b0f6ce13cb612d3db585aaaf3d49b95885a (diff)
Added support to global state.
Diffstat (limited to 'demos/hangman')
-rw-r--r--demos/hangman/index.php2
-rw-r--r--demos/hangman/protected/data/application.xml (renamed from demos/hangman/protected/application.xml)4
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/hangman/index.php b/demos/hangman/index.php
index 8ec5d000..af488b0a 100644
--- a/demos/hangman/index.php
+++ b/demos/hangman/index.php
@@ -2,7 +2,7 @@
$basePath=dirname(__FILE__);
require_once($basePath.'/../../framework/prado.php');
-$application=new TApplication($basePath.'/protected/application.xml');
+$application=new TApplication($basePath.'/protected/data/application.xml');
$application->run();
?> \ No newline at end of file
diff --git a/demos/hangman/protected/application.xml b/demos/hangman/protected/data/application.xml
index 1f91fcff..7cdc3a0b 100644
--- a/demos/hangman/protected/application.xml
+++ b/demos/hangman/protected/data/application.xml
@@ -2,8 +2,8 @@
<application id="hangman" mode="Debug">
<paths>
- <alias id="Application" path="." />
- <alias id="Pages" path="pages" />
+ <alias id="Application" path=".." />
+ <alias id="Pages" path="../pages" />
</paths>
<services>
<service id="page" BasePath="Pages" DefaultPage="home" />