欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

fckeditor 防止上傳非法文件 增加登錄判斷

 更新時(shí)間:2012年06月27日 10:57:53   作者:  
fckeditor 防止上傳非法文件 增加登錄判斷,需要的朋友可以參考下
fckeditor\editor\filemanager\connectors\asp 目錄下 兩個(gè)文件connector.asp upload.asp 里判斷是否登錄后臺(tái)

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 沒(méi)登錄 then
SendError 1, "no login"
end if
upload.asp
if
fckeditor 目錄改名 盡量改成fckeditor沒(méi)有關(guān)系的名字

相關(guān)文章

最新評(píng)論