diff options
Diffstat (limited to 'app/php/application.xml')
-rw-r--r-- | app/php/application.xml | 56 |
1 files changed, 9 insertions, 47 deletions
diff --git a/app/php/application.xml b/app/php/application.xml index 9f1cb34..5feac98 100644 --- a/app/php/application.xml +++ b/app/php/application.xml @@ -1,55 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> <application id="http" mode="Debug"> - <modules> - - <module id="db" - class="Application.db.DBModule" - config="../../config/db.json" /> - <module class="System.Data.ActiveRecord.TActiveRecordConfig" - ConnectionID="db" - EnableCache="true" /> - <module id="cache" - class="System.Caching.TDbCache" /> - <module id="request" - class="THttpRequest" - UrlFormat="HiddenPath" - UrlParamSeparator="/" - UrlManager="url" /> - <module id="url" - class="Application.url.UrlManager" - UrlPrefix="/" - EnableCustomUrl="True"> - <url ServiceParameter="Home" - UrlFormat="HiddenPath" - pattern="{month}/{year}/" - parameters.month="\d{2}" - parameters.year="\d{4}" /> - <url ServiceParameter="Home" - UrlFormat="HiddenPath" - pattern="{month}/" - parameters.month="\d{2}" /> - <url ServiceParameter="Home" - UrlFormat="HiddenPath" - EnableCustomUrl="false" - pattern="" /> - <url ServiceParameter="*" - UrlFormat="HiddenPath" - EnableCustomUrl="false" - pattern="{*}" /> - </module> - <!-- Remove this comment mark to enable logging - <module id="log" class="System.Util.TLogRouter"> - <route class="TBrowserLogRoute" Categories="System" /> - </module> - --> + <include file="Application.db.config" /> + <include file="Application.model.config" /> + <include file="Application.user.config" /> + <include file="Application.url.config" /> - <module id="auth" class="System.Security.TAuthManager" - UserManager="users" LoginPage="Login" /> - <module id="users" class="System.Security.TDbUserManager" - UserClass="Application.user.DbUser" /> - </modules> <services> <service id="page" class="TPageService" /> </services> + + <modules> + <module id="cache" class="System.Caching.TDbCache" /> + </modules> + </application> |