summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>