首页 > 网站 > 建站经验 > 正文

解决采集后后生成 年-月-日-cs 多余路径的办法

2024-08-30 19:06:26
字体:
来源:转载
供稿:网友

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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表