summaryrefslogtreecommitdiff
path: root/app/php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-03-09 16:39:37 +0100
committeremkael <emkael@tlen.pl>2016-03-09 16:39:37 +0100
commit9ffd441c1165284cf1de1907b8fd5f64383d3543 (patch)
treee9d42c5946740f6fbf5385e836e21a6384f92401 /app/php
parentc9e980584d7c6ce50d485f3bf349664a3ce44a87 (diff)
* pagestate moved to cache
Diffstat (limited to 'app/php')
-rw-r--r--app/php/application.xml4
-rw-r--r--app/php/pages/config.xml7
2 files changed, 8 insertions, 3 deletions
diff --git a/app/php/application.xml b/app/php/application.xml
index c89ca45..9f1cb34 100644
--- a/app/php/application.xml
+++ b/app/php/application.xml
@@ -50,8 +50,6 @@
UserClass="Application.user.DbUser" />
</modules>
<services>
- <service id="page" class="TPageService">
- <pages MasterClass="Application.layouts.MainLayout" />
- </service>
+ <service id="page" class="TPageService" />
</services>
</application>
diff --git a/app/php/pages/config.xml b/app/php/pages/config.xml
index d387667..834a5b4 100644
--- a/app/php/pages/config.xml
+++ b/app/php/pages/config.xml
@@ -1,7 +1,14 @@
<configuration>
+
+ <pages MasterClass="Application.layouts.MainLayout"
+ StatePersisterClass="System.Web.UI.TCachePageStatePersister"
+ StatePersister.CacheModuleID="cache"
+ StatePersister.CacheTimeout="3600" />
+
<authorization>
<allow pages="Admin,Signup" roles="Admin" />
<deny pages="Admin,Signup" />
<deny pages="Profile" users="?" />
</authorization>
+
</configuration>