首頁 > 開發 > .Net > 正文

Asp.net FCKEditor 2.6.3 上傳文件沒有權限解決方法

2020-02-24 17:27:36
字體:
來源:轉載
供稿:網友
打開解決方案,
找到 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目錄的文件
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
金玫玫床戏