|
主题:[分享]KesionCMS X1.5后台上传提示没有登录的修改方法 [收藏主题] | 转到: |
部分用户在后台上传图片时,提示没有登录,无权限,如下图: 解决方法如下: 打开 admin/include/swfupload.asp 找到 42行 Dim ChkRS:Set ChkRS =Conn.Execute("Select top 1 a.username,b.userid From KS_Admin a inner join KS_User b on a.username=b.username Where AdminID=" & KS.ChkClng(AdminID) & " and a.PassWord='" & KS.ChkClng(Pass) & "'") 改成 Dim ChkRS:Set ChkRS =Conn.Execute("Select top 1 a.username,b.userid From KS_Admin a inner join KS_User b on a.username=b.username Where AdminID=" & KS.ChkClng(AdminID) & " and a.PassWord='" & KS.DelSql(replace(Pass,"'","")) & "'") |
|
KesionCMS,, | |
支持(0) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |