webmcp

annotate framework/env/ui/is_partial_loading_enabled.lua @ 28:ea2e8f3a2776

allow webmcp path to be set in cgi script

this allows another script to include the webmcp script when the cwd is not the cgi-bin. the script needs to set the WEBMCP_PATH variable.
author Daniel Poelzleithner <poelzi@poelzi.org>
date Sun Sep 19 01:36:08 2010 +0200 (2010-09-19)
parents f3d3203cd2e4
children
rev   line source
jbe/bsw@11 1 --[[--
jbe/bsw@11 2 result =
jbe/bsw@11 3 ui.is_partial_loading_enabled()
jbe/bsw@11 4
jbe@12 5 This function returns true, if partial loading has been enabled by calling
jbe@12 6 ui.enable_partial_loading().
jbe/bsw@11 7
jbe/bsw@11 8 --]]--
jbe/bsw@11 9
jbe/bsw@11 10 function ui.is_partial_loading_enabled()
jbe/bsw@11 11 return ui._partial_loading_enabled
jbe/bsw@11 12 end

Impressum / About Us