輕鬆網際網路開發,Easy do it,大資料,hadoop,hbase,vertica,java開發
阿新 • • 發佈:2019-02-10
fckeditor編輯器上傳檔案的兩個小問題補充解決
1、只能上傳2M大小的檔案。
請修改editors/fckeditor/editor/filemanager/connectors/xml/config.htm檔案47行,把
<we name=max>2*1024*1024</we><!-- 2M -->
改為
<we name=max>1024*1024*1024</we><!-- 1G -->
2、不能上傳檔名含漢字的檔案。
請修改editors/fckeditor/editor/filemanager/connectors/xml/commands.htm檔案50到52行,把
<if x="@{pPage:pass}">
<bag id=pPage x=true><we name=MyFile_filename>@{pPage:NewFile_filename}</we></bag>
</if>
改為
<if x="@{pPage:pass}" else=1>
<bag id=pPage x=true><we name=MyFile_filename>@{pPage:NewFile_filename}</we> </bag>
<bag id=pPage><we name=MyFile_filename>[email protected]{sys:long}@{pPage:NewFile_extname}</we></bag>
</if>
輕鬆網際網路開發平臺(Easy Do IT)資源下載