首页 > 编程 > .NET > 正文

Asp.net FCKEditor 2.6.3 上传文件没有权限解决方法

2024-07-10 12:53:19
字体:
来源:转载
供稿:网友
打开解决方案,
找到 FileBrowser/FileWorkerBase.cs 文件

Response.Write( @"(function(){var d=document.domain;while (true){try{var A=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:/.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" );
Response.Write( @"(function(){var d=document.domain;while (true){try{var A=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:/.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" );

修改成:

Response.Write(@"(function(){var d=document.domain;while (true){try{var A=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:/.|$)/,'');if (d.length==0) break;}})();");
Response.Write(@"(function(){var d=document.domain;while (true){try{var A=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:/.|$)/,'');if (d.length==0) break;}})();");

编译,将DLL文件拷贝覆盖你网站BIN目录的文件
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表