webmcp
annotate framework/env/request/get_absolute_baseurl.lua @ 6:5cba83b3f411
Version 1.0.6
Bugfix: class_prototype:add_reference{...} uses now qualified names in SQL queries to allow JOINs
Fixes in the documentation of slot.put_into and trace.debug
Bugfix: class_prototype:add_reference{...} uses now qualified names in SQL queries to allow JOINs
Fixes in the documentation of slot.put_into and trace.debug
author | jbe/bsw |
---|---|
date | Fri Jan 22 12:00:00 2010 +0100 (2010-01-22) |
parents | 9fdfb27f8e67 |
children | 944642a3e488 |
rev | line source |
---|---|
jbe/bsw@0 | 1 function request.get_absolute_baseurl() |
jbe/bsw@0 | 2 if request._absolute_baseurl then |
jbe/bsw@0 | 3 return request._absolute_baseurl |
jbe/bsw@0 | 4 else |
jbe/bsw@0 | 5 error("Absolute base URL is unknown. It should be set in the configuration by calling request.set_absolute_baseurl(...).") |
jbe/bsw@0 | 6 end |
jbe/bsw@0 | 7 end |