ckfinder在IE上不能使用flash上传问题的解决
发布时间:2020-12-15 18:41:11 所属栏目:百科 来源:网络整理
导读:项目在IE中使用ckfinder上传文件时,会出现“因为安全原因,文件不可浏览. 请联系系统管理员并检查CKFinder配置文件.”的提示,我也没认真去研究ckfinder,因为使用ckfinder上传的话,要有相关的权限才能去进行上传操作,所以想到可能是flash没传输cookie到服
项目在IE中使用ckfinder上传文件时,会出现“因为安全原因,文件不可浏览. 请联系系统管理员并检查CKFinder配置文件.”的提示,我也没认真去研究ckfinder,因为使用ckfinder上传的话,要有相关的权限才能去进行上传操作,所以想到可能是flash没传输cookie到服务器吧,相关认证信息不传输的话后台也就没法去进行权限管理了,也就变为无权限去操作了。记得以前使用swfupload的时候是要加入认证字段的。 解决:直接去使用config.removePlugins = 'flashupload';配置去掉flash上传插件,使用普通上传或html5的上传功能。 <static> {String} CKFinder.config.removePlugins Since: 2.0 List of plugins that must not be loaded. This is a tool setting which makes it easier to avoid loading plugins that are otherwise automatically loaded by CKFinder. // Disable flash uploads. config.removePlugins = 'flashupload'; // Remove the "Basket" folder in the folders pane. config.removePlugins = 'basket'; // Remove the "Help" button. config.removePlugins = 'help'; // Remove all the three plugins above. config.removePlugins = 'help,basket,flashupload'; (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Oracle数据库
- 如何将XML数据存储到Oracle表中
- sqlite用union all批量插入出现too many terms in compound
- 如何从Swift调用Objective-C类的工厂方法?
- cocos2dx 3.0怎么导入模板到vs2013/创建新工程
- oracle – USER()和SYS_CONTEXT(‘USERENV’,’CURRENT_USE
- objective-c – 在FSEventStream回调(ObjC和ARC)中丢失指针
- Flutter 使用Navigator进行局部跳转页面
- Bermudez C第5章P 2:不使用数组或循环来升序
- oracle instantclient_12_2安装