示例#1
0
 private static void InitExecutionContext()
 {
     System.Web.HttpRequest req = System.Web.HttpContext.Current.Request;
     PX.Common.PXExecutionContext.Current.Request =
         new PX.Common.PXExecutionContext.RequestInfo(req.ApplicationPath, req.GetWebsiteAuthority().Authority, req.GetWebsiteAuthority().Scheme);
 }