Commit dd6b8e1d authored by Evan Simpson's avatar Evan Simpson

Fix setting of virtual host path

parent 137c575a
......@@ -84,11 +84,11 @@ class VirtualHostMonster(Persistent, Item, Implicit):
'''Traversing away'''
if name in ('manage_main', 'manage_workspace'):
return self.manage_main
parents = request.PARENTS
parents.pop() # I don't belong there
request.setVirtualRoot([])
stack = request['TraversalRequestNameStack']
stack.append(name)
parents = request.PARENTS
parents.pop() # I don't belong there
return parents.pop() # He'll get put back on
def manage_addVirtualHostMonster(self, id, REQUEST=None, **ignored):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment