CherryPy configuration tools.staticdir.root problem
- by Alan Harris-Reid
Hi there,
How can I make my static-file root directories relative to my application root folder (instead of a hard-coded path)?
In accordance with CP instructions (http://www.cherrypy.org/wiki/StaticContent) I have tried the following in my configuration file:
tree.cpapp = cherrypy.Application(cpapp.Root())
tools.staticdir.root =…