change get_web_root_url function name and add a comment to make its use more explicit

This commit is contained in:
Damien Laniel 2009-02-25 17:20:22 +00:00
parent 22f88d49b3
commit b9ce007edc
1 changed files with 4 additions and 1 deletions

View File

@ -60,7 +60,10 @@ class QommonPublisher(Publisher):
def get_root_url(self):
return self.get_request().environ['SCRIPT_NAME'] + '/'
def get_web_root_url(self):
# This function is overriden in Larpe because its static files are accessible in a
# sub-folder (/larpe), while other applications' static files are accessible at site
# root url (/)
def get_application_static_files_root_url(self):
return self.get_request().environ['SCRIPT_NAME'] + '/'
def format_publish_error(self, exc):