summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-14 16:12:30 +0200
committeremkael <emkael@tlen.pl>2016-04-14 16:14:10 +0200
commit2c04baeb2beebb06a97da16fbd62c2a4747e9ff2 (patch)
treed0036a5e25ca8d667cd245846e55cef747212bbe /app
parentfc5f40bd059207b985d4b82fa1d4433b3a225b08 (diff)
* pages initial config moved to separate file
Diffstat (limited to 'app')
-rw-r--r--app/php/application.xml10
-rw-r--r--app/php/pages/config.xml6
2 files changed, 10 insertions, 6 deletions
diff --git a/app/php/application.xml b/app/php/application.xml
index 7c976e5..ebe1955 100644
--- a/app/php/application.xml
+++ b/app/php/application.xml
@@ -4,15 +4,13 @@
<include file="Application.db.config" />
<include file="Application.model.config" />
<include file="Application.facades.config" />
+
<include file="Application.user.config" />
+
<include file="Application.url.config" />
- <include file="Application.controls.config" />
- <services>
- <service id="page"
- class="TPageService"
- ClientScriptManagerClass="Application.components.ClientScriptManager" />
- </services>
+ <include file="Application.pages.config" />
+ <include file="Application.controls.config" />
<modules>
<module id="cache" class="System.Caching.TDbCache" />
diff --git a/app/php/pages/config.xml b/app/php/pages/config.xml
index 834a5b4..b870cb3 100644
--- a/app/php/pages/config.xml
+++ b/app/php/pages/config.xml
@@ -1,5 +1,11 @@
<configuration>
+ <services>
+ <service id="page"
+ class="TPageService"
+ ClientScriptManagerClass="Application.components.ClientScriptManager" />
+ </services>
+
<pages MasterClass="Application.layouts.MainLayout"
StatePersisterClass="System.Web.UI.TCachePageStatePersister"
StatePersister.CacheModuleID="cache"