示例#1
0
 internal bool Init()
 {
     if (tagregex == null)
     {
         PagePath    = HttpContext.Current.Server.MapPath(input + "page/");
         LabelPath   = HttpContext.Current.Server.MapPath(input + "label/");
         StaticlPath = HttpContext.Current.Server.MapPath(input + "static/");
         ItemPath    = HttpContext.Current.Server.MapPath(input + "item/");
         tagregex    = new TagRegex(this.tagLeft, this.tagRight);
         repathtool  = new RePathTool(input);
         string msg = "";
         this.WriteFile(PagePath + "/js/", "_tagcall.js", JsMaker.GetCallBackJs().ToString(), out msg);
         return(true);
     }
     return(false);
 }
示例#2
0
 internal bool Init()
 {
     if (tagregex == null)
     {
         PagePath = HttpContext.Current.Server.MapPath(input + "page/");
         LabelPath = HttpContext.Current.Server.MapPath(input + "label/");
         StaticlPath = HttpContext.Current.Server.MapPath(input + "static/");
         ItemPath = HttpContext.Current.Server.MapPath(input + "item/");
         tagregex = new TagRegex(this.tagLeft, this.tagRight);
         repathtool = new RePathTool(input);
         string msg = "";
         this.WriteFile(PagePath + "/js/", "_tagcall.js", JsMaker.GetCallBackJs().ToString(), out msg);
         return true;
     }
     return false;
 }