Modificare il file:
\FckEditor\filemanager\browser\default\DeleteFile.asp
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1250"%> <% if request.QueryString("FilePath")<>"" then set Fs = server.CreateObject("Scripting.FileSystemObject") if Fs.FileExists(server.MapPath(request.QueryString("FilePath"))) then set FileToDelete = Fs.getFile(server.MapPath(request.QueryString("FilePath"))) FileToDelete.delete() end if set Fs = nothing end if if request.QueryString("FolderPath")<>"" then set Fs = server.CreateObject("Scripting.FileSystemObject") if Fs.FolderExists(server.MapPath(request.QueryString("FolderPath"))) then Fs.DeleteFolder server.MapPath(request.QueryString("FolderPath")), true end if set Fs = nothing end if %> <script language="javascript"> //window.top.frames['frmFolders'].Refresh() window.parent.frames['frmResourcesList'].deleteXmlObject() window.parent.frames['frmResourcesList'].Refresh() </script>
[
Íàçàä
]