/** * BOOTSTRAP function used by the main web page to start our framework. */ function WFWebApplicationMain() { $webapp = WFWebApplication::sharedWebApplication(); if (WFWebApplication::isHTTPRequest()) { $webapp->runWebApplication(); } return $webapp; }