Ignore:
Timestamp:
Dec 20, 2009, 9:44:15 PM (14 years ago)
Author:
broder
Message:

Get username and state from CherryPy? request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy-rebased/code/main.fcgi

    r2661 r2669  
    2020    app = cherrypy.tree.mount(InvirtWeb(),
    2121        '/' if dev else '/main.fcgi',
    22         {'/':      {'tools.staticdir.root': static_dir},
     22        {'/':      {'tools.staticdir.root': static_dir,
     23                    'tools.invirtwebstate.on': True},
    2324        '/static': {'tools.staticdir.on': True,
    2425                    'tools.staticdir.dir': static_dir}
Note: See TracChangeset for help on using the changeset viewer.