jbe/bsw@0: --[[-- jbe/bsw@0: execute.config( jbe/bsw@0: name -- name of the configuration to be loaded jbe/bsw@0: ) jbe/bsw@0: jbe/bsw@0: Executes a configuration file of the application. jbe@223: This function is only used by by the mcp.lua file in the bin/ directory. jbe/bsw@0: jbe/bsw@0: --]]-- jbe/bsw@0: jbe/bsw@0: function execute.config(name) jbe/bsw@0: trace.enter_config{ name = name } jbe/bsw@0: execute.file_path{ jbe/bsw@0: file_path = encode.file_path( jbe@206: WEBMCP_BASE_PATH, 'config', name .. '.lua' jbe/bsw@0: ) jbe/bsw@0: } jbe/bsw@0: trace.execution_return() jbe/bsw@0: end