Return to ECHO_Nav.py CVS log | Up to [Repository] / ECHO_content |
version 1.74, 2006/03/02 19:59:03 | version 1.75, 2006/05/15 16:04:52 |
---|---|
Line 979 def createPath(self,url1,url2): | Line 979 def createPath(self,url1,url2): |
if self.REQUEST.has_key('VirtualRootPhysicalPath'): | if self.REQUEST.has_key('VirtualRootPhysicalPath'): |
vp="/".join(self.REQUEST['VirtualRootPhysicalPath']) | vp="/".join(self.REQUEST['VirtualRootPhysicalPath']) |
if vp[0]=="/": | if (len(vp)>0) and vp[0]=="/": |
vp=vp[1:] | vp=vp[1:] |
url2=url2.replace(vp+"/",'') | url2=url2.replace(vp+"/",'') |