DEDE二级栏目title中替换_后去除两边空格的方法

原文是 $this->Fields['title'] = ereg_replace("[<>] "," / ",$this->TypeLink->GetPositionLink(false));

//修改官方"/" 为_

$this->Fields['title'] = ereg_replace(" [<>] ","_",$this->TypeLink->GetPositionLink(false));

发表评论

后才能评论