blob: cd996cb64e112f27a0b4297a585e948462d4b0c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<?xml version="1.0" encoding="utf-8"?>
<application id="blog" mode="Normal">
<paths>
<using namespace="Application.database.*" />
</paths>
<!-- configurations for modules -->
<modules>
<module id="cache" class="System.Caching.TDbCache" />
<module class="Application.BlogErrorHandler" />
<module id="log" class="System.Util.TLogRouter">
<route class="TFileLogRoute" Categories="BlogApplication" />
</module>
<module id="db" class="System.Data.TDataSourceConfig">
<database ConnectionString="sqlite:protected/data/blog.db" />
</module>
<module
class="System.Data.ActiveRecord.TActiveRecordConfig"
ConnectionID="db" />
<module id="auth"
class="System.Security.TAuthManager"
UserManager="users"
LoginPage="users.LoginUser" />
<module id="users"
class="System.Security.TDbUserManager"
UserClass="Application.BlogUser" />
</modules>
<!-- configuration for available services -->
<services>
<service id="page" class="TPageService" DefaultPage="posts.ListPost">
<pages MasterClass="Application.layouts.MainLayout" Theme="Basic" />
</service>
</services>
<!-- application parameters
<parameters>
<parameter id="param1" value="value1" />
<parameter id="param2" value="value2" />
</parameters>
-->
</application>
|