解决采集后后生成 年-月-日-cs 多余路径的办法_风讯Cms教程
修改Admin/Collect/MoveNews.asp .
f_Field_Array = Array(_
Array("Title","NewsTitle",0,""),_
Array("","PopId",-1,"0"),_
Array("","ClassID",-1,p_ClassID),_
Array("Content","Content",0,""),_
Array("","Templet",-1,p_Templet),_
Array("Source","Source",0,""),_
Array("","Editor",-1,Session("Admin_Name")),_
Array("Author","Author",0,""),_
Array("","SaveNewsPath",-1,"/" & Year(Now) & "-" & Month(Now) & "-" & Day(Now) & "-cs"),_
Array("","FileName",-1,""),_
Array("","NewsID",-1,""),_
Array("","FileExtName",-1,"html"),_
Array("","NewsProperty",-1,"0,1,1,0,1,0,0,0,1,0,0"),_
Array("","addtime",-1,Now)_
)
把红色的一栏修改为即可。
Array("","SaveNewsPath",-1,""),_
- 相关链接:
- 教程说明:
风讯Cms教程-解决采集后后生成 年-月-日-cs 多余路径的办法
。