Create cache directory for storing images for SP Portal
[cascardo/ipsilon.git] / ipsilon / ipsilon
index 8264bce..c62a9aa 100755 (executable)
@@ -60,7 +60,9 @@ template_env = Environment(loader=ChoiceLoader(template_loaders),
 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)