webmcp
changeset 224:9fcdec58aa31
Removed request._app_basepath and request._app_basebase from env/request/__init.lua
author | jbe |
---|---|
date | Fri Feb 27 22:18:52 2015 +0100 (2015-02-27) |
parents | 32ec28229bb5 |
children | cd7fce06440d |
files | framework/env/request/__init.lua |
line diff
1.1 --- a/framework/env/request/__init.lua Fri Feb 27 21:49:00 2015 +0100 1.2 +++ b/framework/env/request/__init.lua Fri Feb 27 22:18:52 2015 +0100 1.3 @@ -14,10 +14,3 @@ 1.4 1.5 request._params = {} 1.6 1.7 -request._app_basepath = assert( 1.8 - os.getenv("WEBMCP_APP_BASEPATH"), 1.9 - 'WEBMCP_APP_BASEPATH is not set.' 1.10 -) 1.11 -if not string.find(request._app_basepath, "/$") then 1.12 - request._app_basebase = request._app_basepath .. "/" 1.13 -end