[gen] Added appy.gen.Pod.rLayouts, a default layout for rendering POD templates on query result pages; various security and bugfixes.

This commit is contained in:
Gaetan Delannay 2012-11-26 13:58:27 +01:00
parent c3aa01a554
commit 3ec1270fc2
5 changed files with 12 additions and 7 deletions

View file

@ -316,7 +316,7 @@ class ZopeInstaller:
def configureSessions(self):
'''Configure the session machinery.'''
# Register a function warning us when a session object is deleted. When
# launching Zope, the temp folder does not exist.
# launching Zope in test mode, the temp folder does not exist.
if not hasattr(self.app, 'temp_folder'): return
self.app.temp_folder.session_data.setDelNotificationTarget(onDelSession)