GE Lua Documentation

Press F to search!

getenv

Definition


-- @/=[C]:-1
function getenv(...)

Callers

@/lua/vehicle/extensions/profiling/p.lua
local function start(mode, outfile)
  if not outfile then outfile = os.getenv("LUAJIT_PROFILEFILE") end
  if outfile then
@/lua/common/jit/p.lua
local function start(mode, outfile)
  if not outfile then outfile = os.getenv("LUAJIT_PROFILEFILE") end
  if outfile then
@/lua/common/libs/luasocket/socket/smtp.lua
-- If we are under a CGI, try to get from environment
_M.DOMAIN = os.getenv("SERVER_NAME") or "localhost"
-- default time zone (means we don't know)
@/lua/common/jit/v.lua
  if active then dumpoff() end
  if not outfile then outfile = os.getenv("LUAJIT_VERBOSEFILE") end
  if outfile then