change get_web_root_url function name and add a comment to make its use more explicit
This commit is contained in:
parent
22f88d49b3
commit
b9ce007edc
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue