Commit dbf73423 authored by Evan Simpson's avatar Evan Simpson

Adjust absolute_url to use BASE1 key.

parent 4b675f24
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.127 2000/06/09 14:54:37 jim Exp $''' $Id: Application.py,v 1.128 2000/06/09 23:52:45 evan Exp $'''
__version__='$Revision: 1.127 $'[11:-2] __version__='$Revision: 1.128 $'[11:-2]
import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_ import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_
import time, traceback, os, string, Products import time, traceback, os, string, Products
...@@ -281,7 +281,7 @@ class Application(Globals.ApplicationDefaultPermissions, ...@@ -281,7 +281,7 @@ class Application(Globals.ApplicationDefaultPermissions,
will reflect the acquisition path of the object if the object will reflect the acquisition path of the object if the object
has been acquired.""" has been acquired."""
if relative: return '' if relative: return ''
return self.aq_acquire('REQUEST').script return self.aq_acquire('REQUEST')['BASE1']
def getPhysicalPath(self): def getPhysicalPath(self):
'''Returns a path that can be used to access this object again '''Returns a path that can be used to access this object again
......
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