webmcp

changeset 323:4603e8781fb9

Check _MOONBRIDGE_VERSION instead of global "listen" function to identify Moonbridge environment
author jbe
date Mon Mar 23 22:17:33 2015 +0100 (2015-03-23)
parents bbdfc5e1ca80
children 1c3ba14bd679
files framework/bin/mcp.lua
line diff
     1.1 --- a/framework/bin/mcp.lua	Mon Mar 23 20:23:04 2015 +0100
     1.2 +++ b/framework/bin/mcp.lua	Mon Mar 23 22:17:33 2015 +0100
     1.3 @@ -83,7 +83,7 @@
     1.4  
     1.5  A constant set to "listen" in case of a network request, or set to "interactive" in case of interactive mode.
     1.6  --]]--
     1.7 -if listen then  -- defined by moonbridge
     1.8 +if _MOONBRIDGE_VERSION then
     1.9    WEBMCP_MODE = "listen"
    1.10  else
    1.11    WEBMCP_MODE = "interactive"

Impressum / About Us