liquid_feedback_frontend
changeset 1161:385a1e369faf
Workaround for missing trailing slash in application base path added
author | bsw |
---|---|
date | Tue Mar 24 12:42:19 2015 +0100 (2015-03-24) |
parents | 65904de98d5e |
children | ee63ad6bb3e3 51a17a0e26e9 |
files | config/init.lua |
line diff
1.1 --- a/config/init.lua Tue Mar 24 12:36:19 2015 +0100 1.2 +++ b/config/init.lua Tue Mar 24 12:42:19 2015 +0100 1.3 @@ -73,6 +73,11 @@ 1.4 if not listen then 1.5 1.6 WEBMCP_BASE_PATH = request.get_app_basepath() 1.7 + 1.8 + -- workaround bug in WebMCP 1.2.6 1.9 + if not string.find(WEBMCP_BASE_PATH, "/$") then 1.10 + WEBMCP_BASE_PATH = WEBMCP_BASE_PATH .. "/" 1.11 + end 1.12 1.13 -- open and set default database handle 1.14 _G.db = assert(mondelefant.connect(config.database))