Commits

Steve Losh committed 2e20662

Got rid of the stupid config file.

Comments (0)

Files changed (2)

cfbe.config

-[global]
-server.socket_host = '0.0.0.0'
-server.socket_port = 8000
-server.thread_pool = 10
-tools.sessions.on = True
-tools.staticdir.root = "/Users/sjl/Documents/cherryflavoredbugseverywhere/static"
-
-[/static]
-tools.staticdir.on = True
-tools.staticdir.dir = ""
 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)