风讯CMS解决采集后后生成 年-月-日-cs多余路径方法

当前位置 : 首页 > CMS教程 > 风讯CMS > 风讯CMS解决采集后后生成 年-月-日-cs多余路径方法

风讯CMS解决采集后后生成 年-月-日-cs多余路径方法

来源:互联网 作者:脚本宝典 时间:2015-07-06 12:57
修改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

修改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,""),_


Tag:
网友评论

<