Ignore:
Timestamp:
Aug 9, 2009, 6:45:28 PM (15 years ago)
Author:
quentin
Message:

Initialize state object correctly

File:
1 edited

Legend:

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

    r2387 r2399  
    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.