账号通
    

账号  

密码  

1653

查看

1

回复
主题:[分享]KesionCMS X1.0后台添加文章上传附件360极速浏览器提示要先登录的修复 [收藏主题]  
科汛官方 当前离线

47268

主题

145

广播

405

粉丝
添加关注
级别:管理员

用户积分:101604 分
登录次数:7935 次
注册时间:2006/12/7
最后登录:2023/12/14
科汛官方 发表于:2015/2/12 10:09:22   | 只看该作者 查看该作者主题 楼主 
做在线知识付费 选科汛云开店
问题如题解决方法

 打开user/BatchUploadForm.asp

找到
<%If UPFrom="Admin" Then%>

upload_url: "../<%=KS.Setting(89)%>Include/swfupload.asp",

post_params: {"EditorID":"<%=KS.S("EditorID")%>","AddWaterFlag":"<%=AddWaterFlag%>","AdminName" : "<%=KS.C("AdminName") %>","AdminPass":"<%=KS.C("AdminPass")%>",UpType:"File",BasicType:<%=BasicType%>,ChannelID:<%=ChannelID%>,AutoRename:4},

<%Else%>

upload_url: "swfupload.asp",

post_params: {"UserID" : "<%=KS.C("UserID") %>","EditorID":"<%=KS.S("EditorID")%>","AddWaterFlag":"<%=AddWaterFlag%>","UpType":"<%=UpType%>","ChannelID":"<%=ChannelID%>","BasicType":"<%=BasicType%>","BoardID":"<%=BoardID%>","UserName" : "<%=KS.C("UserName") %>","RndPassWord":"<%=KS.C("RndPassWord")%>","AutoRename":4,"currentdir":"<%=CurrentDir%>"},

<%End If%>


修改为

<%If UPFrom="Admin" Then%>

upload_url: "../<%=KS.Setting(89)%>Include/swfupload.asp",

post_params: {"EditorID":"<%=KS.S("EditorID")%>","AddWaterFlag":"<%=AddWaterFlag%>","AdminID" : "<%=KS.C("AdminID") %>","AdminPass":"<%=KS.C("AdminPass")%>",UpType:"File",BasicType:<%=BasicType%>,ChannelID:<%=ChannelID%>,AutoRename:4},

<%Else%>

upload_url: "swfupload.asp",

post_params: {"UserID" : "<%=KS.C("UserID") %>","EditorID":"<%=KS.S("EditorID")%>","AddWaterFlag":"<%=AddWaterFlag%>","UpType":"<%=UpType%>","ChannelID":"<%=ChannelID%>","BasicType":"<%=BasicType%>","BoardID":"<%=BoardID%>","UserName" : "<%=KS.C("UserName") %>","RndPassWord":"<%=KS.C("RndPassWord")%>","AutoRename":4,"currentdir":"<%=CurrentDir%>"},

<%End If%>


红色为改动的地方。
 
KesionCMS,,
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
ep165 当前离线

1593

主题

8

广播

5

粉丝
添加关注
级别:高一年

用户积分:5843 分
登录次数:311 次
注册时间:2008/12/22
最后登录:2017/11/17
ep165 发表于:2015/2/12 10:46:41   | 只看该作者 查看该作者主题 沙发 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.09375秒 powered by KesionCMS 9.0