Commit d3905a5d authored by Evan Simpson's avatar Evan Simpson

Merge change from Zope-2_5-branch

parent addcfc68
......@@ -15,7 +15,7 @@
Zope object encapsulating a Page Template.
"""
__version__='$Revision: 1.30 $'[11:-2]
__version__='$Revision: 1.31 $'[11:-2]
import os, AccessControl, Acquisition, sys
from Globals import DTMLFile, ImageFile, MessageDialog, package_home
......@@ -284,9 +284,13 @@ class Src(Acquisition.Explicit):
PUT = document_src = Acquisition.Acquired
index_html = None
def __before_publishing_traverse__(self, ob, request):
if getattr(request, '_hacked_path', 0):
request._hacked_path = 0
def __call__(self, REQUEST, RESPONSE):
" "
return self.document_src(REQUEST, RESPONSE)
return self.document_src(REQUEST)
d = ZopePageTemplate.__dict__
d['source.xml'] = d['source.html'] = Src()
......
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