織夢欄目地址使用欄目名稱首字母

找到“dede/catalog.add.php”,修改如下【就是在兩個“)”中間補個“,1”】:

85行 $toptypedir = GetPinyin(stripslashes($toptypename));

修改爲 $toptypedir = GetPinyin(stripslashes($toptypename),1);

108 行 $typedir = $toptypedir.'/'.GetPinyin(stripslashes($v));

修改爲 $typedir = $toptypedir.'/'.GetPinyin(stripslashes($v),1);

134行 $toptypedir = GetPinyin(stripslashes($toptypename));

修改爲 $toptypedir = GetPinyin(stripslashes($toptypename),1);

187行 $typedir = GetPinyin(stripslashes($typename));

修改爲 $typedir = GetPinyin(stripslashes($typename),1);

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章