webmcp

diff framework/env/slot/render_layout.lua @ 209:2cb27106aa73

Removed functions request.get_config, request.get_app_basepath, request.get_app_name
author jbe
date Sat Jan 10 00:19:38 2015 +0100 (2015-01-10)
parents 9fdfb27f8e67
children be8ede894624
line diff
     1.1 --- a/framework/env/slot/render_layout.lua	Sat Jan 10 00:11:52 2015 +0100
     1.2 +++ b/framework/env/slot/render_layout.lua	Sat Jan 10 00:19:38 2015 +0100
     1.3 @@ -10,9 +10,9 @@
     1.4    if slot._current_layout then
     1.5      local layout_file = assert(io.open(
     1.6        encode.file_path(
     1.7 -        request.get_app_basepath(),
     1.8 +        WEBMCP_BASE_PATH,
     1.9          'app',
    1.10 -        request.get_app_name(),
    1.11 +        WEBMCP_APP_NAME,
    1.12          '_layout',
    1.13          slot._current_layout .. '.html'
    1.14        ),

Impressum / About Us