projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get username and state from CherryPy request
[invirt/packages/invirt-web.git]
/
code
/
main.fcgi
diff --git
a/code/main.fcgi
b/code/main.fcgi
index
6d5543e
..
03f899c
100755
(executable)
--- a/
code/main.fcgi
+++ b/
code/main.fcgi
@@
-19,7
+19,8
@@
if __name__=="__main__":
conf_file = os.path.join(base_dir, 'main.conf')
app = cherrypy.tree.mount(InvirtWeb(),
'/' if dev else '/main.fcgi',
conf_file = os.path.join(base_dir, 'main.conf')
app = cherrypy.tree.mount(InvirtWeb(),
'/' if dev else '/main.fcgi',
- {'/': {'tools.staticdir.root': static_dir},
+ {'/': {'tools.staticdir.root': static_dir,
+ 'tools.invirtwebstate.on': True},
'/static': {'tools.staticdir.on': True,
'tools.staticdir.dir': static_dir}
})
'/static': {'tools.staticdir.on': True,
'tools.staticdir.dir': static_dir}
})