为fckeditor增加登录判断

发布时间:2020-12-04编辑:脚本学堂
为fckeditor增加登录判断

在fckeditoreditorfilemanagerconnectorsasp 目录下 两个文件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无关的名字。