当前位置 博文首页 > fckeditor 防止上传非法文件 增加登录判断

    fckeditor 防止上传非法文件 增加登录判断

    作者:admin 时间:2021-09-01 19:12

    fckeditor\editor\filemanager\connectors\asp 目录下 两个文件connector.asp upload.asp 里判断是否登录后台

    connector.asp
    If ( ConfigIsEnabled = False ) Then
    SendError 1, "This connector is disabled. Please check the ""editor/filemanager/connectors/asp/config.asp"" file"
    End If

    在这段代码之前增加身份判断
    if 没登录 then
    SendError 1, "no login"
    end if
    upload.asp
    if
    fckeditor 目录改名 尽量改成fckeditor没有关系的名字
    jsjbwy
下一篇:没有了