summaryrefslogtreecommitdiff
path: root/demos/personal/protected
diff options
context:
space:
mode:
authorxue <>2005-11-16 18:47:10 +0000
committerxue <>2005-11-16 18:47:10 +0000
commitacef7540bfa0d27e0dec7b96a7ce7ff710cb462c (patch)
treeea06cde66b7b5cb27d33307073e5bab8d725beb8 /demos/personal/protected
parent23781b6170be7f3d2b69861e44049d82a634dca8 (diff)
Diffstat (limited to 'demos/personal/protected')
-rw-r--r--demos/personal/protected/Modules/DataModule.php2
-rw-r--r--demos/personal/protected/application.xml7
2 files changed, 5 insertions, 4 deletions
diff --git a/demos/personal/protected/Modules/DataModule.php b/demos/personal/protected/Modules/DataModule.php
index 03ee3496..b090dbba 100644
--- a/demos/personal/protected/Modules/DataModule.php
+++ b/demos/personal/protected/Modules/DataModule.php
@@ -14,7 +14,7 @@ class DataModule extends TComponent implements IModule
* @var string id of this module
*/
private $_id='';
- private $_file='Application.data.site';
+ private $_file=null;
/**
* @var SQLiteDatabase the sqlite database instance
*/
diff --git a/demos/personal/protected/application.xml b/demos/personal/protected/application.xml
index 8b9c46d0..6d4135a6 100644
--- a/demos/personal/protected/application.xml
+++ b/demos/personal/protected/application.xml
@@ -3,12 +3,13 @@
<configuration>
<paths>
<alias id="Application" path="." />
- <alias id="Pages" path="pages" />
+ <alias id="Pages" path="Pages" />
+ <alias id="Data" path="Data" />
</paths>
<!-- modules configured and loaded for all services -->
<modules>
<!-- make sure the path "protected" is writable by web server process if you enable this cache
- <module id="cache" type="System.Data.TSqliteCache" DbFile="Application.cache"/>
+ <module id="cache" type="System.Data.TSqliteCache" DbFile="Data.Cache"/>
-->
<module id="session" type="THttpSession" />
</modules>
@@ -23,7 +24,7 @@
</module>
<!-- auth manager module -->
<module id="auth" type="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
- <module id="data" type="Application.data.DataModule" />
+ <module id="data" type="Modules.DataModule" DbFile="Data.Site" />
</modules>
</service>
</services>