dedecms教程:栏目目录用首字母生成

修改dede/catalog.add.php文件85行$toptypedir = GetPinyin(stripslashes($toptypename));修改为$toptypedir = GetPinyin(stripslashes($toptypename),1);108 行$typedir = $toptypedir.'/'.GetPinyin(stripslashes( ... ,魔客吧

修改dede/catalog.add.php文件

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);

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐