织梦新建栏目默认文件保存目录使用首字母不使用全拼
作者:互联网
织梦新建栏目默认文件保存目录使用首字母不使用全拼
修改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);
标签:stripslashes,全拼,织梦,toptypedir,修改,首字母,typedir,toptypename,GetPinyin 来源: https://blog.csdn.net/lichuang214/article/details/104840898