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

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

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

//修改官"/" 为_


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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/12bf723076554ae0820d71c5802f1a1a.html