webmcp

diff framework/env/execute/action.lua @ 206:eb3e236d261d

Code cleanup and work on Moonbridge integration
author jbe
date Fri Jan 09 22:28:39 2015 +0100 (2015-01-09)
parents 9fdfb27f8e67
children 2b5bdf9028fb
line diff
     1.1 --- a/framework/env/execute/action.lua	Fri Jan 09 21:32:23 2015 +0100
     1.2 +++ b/framework/env/execute/action.lua	Fri Jan 09 22:28:39 2015 +0100
     1.3 @@ -8,7 +8,6 @@
     1.4  }
     1.5  
     1.6  Executes an action without associated filters.
     1.7 -This function is only used by execute.filtered_action{...}, which itself is only used by the webmcp.lua file in the cgi-bin/ directory.
     1.8  
     1.9  --]]--
    1.10  
    1.11 @@ -18,8 +17,7 @@
    1.12    trace.enter_action{ module = module, action = action }
    1.13    local action_status = execute.file_path{
    1.14      file_path = encode.file_path(
    1.15 -      request.get_app_basepath(),
    1.16 -      'app', request.get_app_name(), module, '_action', action .. '.lua'
    1.17 +      WEBMCP_BASE_PATH, 'app', WEBMCP_APP_NAME, module, '_action', action .. '.lua'
    1.18      ),
    1.19      id     = args.id,
    1.20      params = args.params

Impressum / About Us