Changeset 2044
- Timestamp:
- 09/27/08 19:12:25
- Files:
-
- branches/cherrypy-3.0.x/cherrypy/_cpmodpy.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-3.0.x/cherrypy/_cpmodpy.py
r1608 r2044 16 16 17 17 # We will use this method from the mod_python configuration 18 # as the ent yrpoint to our application18 # as the entry point to our application 19 19 def setup_server(): 20 cherrypy.tree.mount(Root())21 20 cherrypy.config.update({'environment': 'production', 22 21 'log.screen': False, 23 22 'show_tracebacks': False}) 24 # You must start the engine in a non-blocking fashion 25 # so that mod_python can proceed 26 cherrypy.engine.start(blocking=False) 23 cherrypy.tree.mount(Root()) 27 24 28 25 ##########################################

