.TEXT 修改 二

对于 \Dottext.Common\Config\MultipleBlogConfig.cs
下的public override BlogConfig GetConfig(HttpContext context) 修改
.........

if(appFromRequest=="")
    {
     //chep对此进行修改,有待验证
     //app= context.Request.ApplicationPath.ToLower();

     if(context.Request.IsAuthenticated)
     {
      app = Security.GetCurrentUserName;
     }
     else
     {
      app= context.Request.ApplicationPath.ToLower();

     }

     appFromRequest = Globals.GetBlogAppFromRequest(context.Request.RawUrl.ToLower(),app);
    
    }


.......
    

你可能感兴趣的:(text)