diff options
author | Steve Losh <steve@stevelosh.com> | 2009-02-07 12:51:40 -0500 |
---|---|---|
committer | Steve Losh <steve@stevelosh.com> | 2009-02-07 12:51:40 -0500 |
commit | 0c326359b8f5e1b8302620b51ceaf362c09bb286 (patch) | |
tree | 2d102c582a7d9c8090fe47f83143a827ff4d1c5a /cfbe.py | |
parent | 76ad23dfc107113a8b9a5a04a471d6351e427204 (diff) | |
download | bugseverywhere-0c326359b8f5e1b8302620b51ceaf362c09bb286.tar.gz |
Got rid of the stupid config file.
Diffstat (limited to 'cfbe.py')
-rwxr-xr-x | cfbe.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,4 +31,8 @@ config = path.join(module_dir, 'cfbe.config') options = parse_arguments() WebInterface = web.WebInterface(path.abspath(options['bug_root']), template_dir) -cherrypy.quickstart(WebInterface, '/', config) + +cherrypy.config.update({'tools.staticdir.root': path.join(module_dir, 'static')}) +app_config = { '/static': { 'tools.staticdir.on': True, + 'tools.staticdir.dir': '', } } +cherrypy.quickstart(WebInterface, '/', app_config) |