webmcp
changeset 242:f66037207da8
Skip application based initializers in interactive mode
author | jbe |
---|---|
date | Sun Mar 01 16:23:39 2015 +0100 (2015-03-01) |
parents | 3db6f3ad0703 |
children | d5cba50e16ae |
files | framework/env/execute/_initializers.lua |
line diff
1.1 --- a/framework/env/execute/_initializers.lua Sun Mar 01 01:29:03 2015 +0100 1.2 +++ b/framework/env/execute/_initializers.lua Sun Mar 01 16:23:39 2015 +0100 1.3 @@ -5,7 +5,9 @@ 1.4 execute._create_sorted_execution_list( 1.5 function(add_by_path) 1.6 add_by_path(initializer_path_element) 1.7 - add_by_path(WEBMCP_APP_NAME, initializer_path_element) 1.8 + if WEBMCP_APP_NAME then -- allow for interactive mode 1.9 + add_by_path(WEBMCP_APP_NAME, initializer_path_element) 1.10 + end 1.11 end, 1.12 function(full_path, relative_path) 1.13 execute.file_path{ file_path = full_path }