Commit 411d1d70 authored by Jérome Perrin's avatar Jérome Perrin

previous fix for virtual hosting was not complete


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20959 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71c30a59
...@@ -51,7 +51,7 @@ def grep(self, pattern, A=0, B=0, r=1, i=0): ...@@ -51,7 +51,7 @@ def grep(self, pattern, A=0, B=0, r=1, i=0):
(url, path, line.replace('\n', '<br/>'))) (url, path, line.replace('\n', '<br/>')))
else: else:
# if we have ExternalEditor installed, add the "external edit" link # if we have ExternalEditor installed, add the "external edit" link
path_element_list = path.split('/') path_element_list = url.split('/')
external_editor_link = '%s/externalEdit_/%s' % ( external_editor_link = '%s/externalEdit_/%s' % (
'/'.join(path_element_list[:-1]), path_element_list[-1]) '/'.join(path_element_list[:-1]), path_element_list[-1])
html_element_list.append( html_element_list.append(
......
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