Works with python2.4.

This commit is contained in:
obenassy 2007-12-18 19:48:57 +00:00
parent 191e642b22
commit 307b9531be
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ def getAPIDict():
api['virtualHost'] = GlasnostObject(object = virtualHost)
else:
api['virtualHost'] = ''
api['currentURI'] = context.getVar('req')._req.uri
api['currentURI'] = context.getVar('req').uri
api['math'] = math
api['time'] = time
api['urlargs'] = UrlArgs(api)