webmcp

view framework/env/request/get_absolute_baseurl.lua @ 2:72860d232f32

Version 1.0.2

Fixed bug with explicit garbage collection (requests > 256kB caused an error)

Views prefixed with an underscore can't be called externally

ui.paginate now displays the last page, if the selected page number is too high.
author jbe/bsw
date Thu Dec 10 12:00:00 2009 +0100 (2009-12-10)
parents 9fdfb27f8e67
children 944642a3e488
line source
1 function request.get_absolute_baseurl()
2 if request._absolute_baseurl then
3 return request._absolute_baseurl
4 else
5 error("Absolute base URL is unknown. It should be set in the configuration by calling request.set_absolute_baseurl(...).")
6 end
7 end

Impressum / About Us