summaryrefslogtreecommitdiff
path: root/docs/application.xml
diff options
context:
space:
mode:
authorxue <>2006-04-10 13:51:06 +0000
committerxue <>2006-04-10 13:51:06 +0000
commit00d32ec019a329a84190b7938cbf48f9e9494874 (patch)
tree57fc4ded1cfabf0e055a6f5822afd1572e8bedaa /docs/application.xml
parent8afe7ea28e77a45b6fb0d4f0d0e4a86f3918353a (diff)
Merge from 3.0 branch till 885.
Diffstat (limited to 'docs/application.xml')
-rwxr-xr-xdocs/application.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/application.xml b/docs/application.xml
index 9f360ec5..2cc01143 100755
--- a/docs/application.xml
+++ b/docs/application.xml
@@ -4,15 +4,15 @@
<paths>
<alias id="Demo" path="." />
<alias id="Pages" path="pages" />
-
+
</paths>
-
+
<!-- modules configured and loaded for all services -->
<modules>
- <module id="cache" type="System.Data.TSqliteCache" DbFile="Demo.cache"/>
+ <module id="cache" type="System.Caching.TSqliteCache" DbFile="Demo.cache"/>
<module id="session" type="THttpSession" />
</modules>
-
+
<services>
<!-- page service, BasePath is required -->
<service id="page" BasePath="Demo.pages" DefaultPage="home">
@@ -36,7 +36,7 @@ application.xml::::
<alias id path/>
<using namespace/>
</paths>
-
+
<modules>
<module id type /> other params get stored as an array.
<!-- user manager module -->
@@ -46,18 +46,18 @@ application.xml::::
</module>
<!-- auth manager module -->
<module id="auth" type="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
-
-
+
+
</modules>
-
+
<services>
<service id type /> extra params get stored as an array.
</services>
-
+
<parameters>
<parameter id [type] /> extra params get stored as an array.
</parameters>
-</application>
+</application>
config.xml
@@ -74,14 +74,14 @@ config.xml
-
+
config.xml:::::
<configuration>
<paths>
<alias id path/>
<using namespace/>
</paths>
-
+
<modules>
<module id type /> other params get stored as an array.
</modules>
@@ -89,11 +89,11 @@ config.xml:::::
<parameters>
<parameter id [type] /> extra params get stored as an array.
</parameters>
-
+
<authorization>
<allow|deny [pages=",delimited"] [users=",delimited *|?|username"] [roles=",delimited"] verb="get|post" />
</authorization>
-
+
<pages [MasterClass]>
<page id type [MasterClass] [TemplateFile]/>
</pages>