webmcp

view framework/env/trace/is_disabled.lua @ 66:afed1ab1477f

Bugfix regarding compatibility with Lua 5.2:
#if instead of #ifdef in webmcp_accelerator.c
author jbe
date Tue Apr 17 15:38:05 2012 +0200 (2012-04-17)
parents 0bbfee4d4aed
children
line source
1 --[[--
2 disabled = -- boolean indicating if trace system is disabled
3 trace.is_disabled()
5 This function returns true, if the trace system has been disabled. Otherwise false is returned.
7 --]]--
9 function trace.is_disabled()
10 return trace._disabled
11 end

Impressum / About Us