cherrypy.lib.sessions.SqlSession = ipsilon.util.sessions.SqlSession
cherrypy.config.update(cfgfile)
+# Force cherrypy logging to work. Note that this ignores the config-file
+# setting.
+cherrypy.log.screen = True
+
nuke_session_locks()
datastore = AdminStore()
if __name__ == "__main__":
conf = {'/': {'tools.staticdir.root': os.getcwd()},
'/ui': {'tools.staticdir.on': True,
- 'tools.staticdir.dir': 'ui'}}
+ 'tools.staticdir.dir': 'ui'},
+ '/cache': {'tools.staticdir.on': True,
+ 'tools.staticdir.dir': 'cache'}}
cherrypy.quickstart(Root('default', template_env),
cherrypy.config['base.mount'], conf)