解决采集后后生成 年-月-日-cs 多余路径的办法_风讯Cms教程

编辑Tag赚U币
教程Tag:暂无Tag,欢迎添加,赚取U币!

修改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教程  风讯cms模板

来源:模板无忧//所属分类:风讯Cms教程/更新时间:2006-12-06
相关风讯Cms教程