来源: 互联网 日期: 2020-07-13 20:34:55
1.修改e/class/connect.php文件,找到ReturnPinyinFun函数,改名为ReturnPinyinFun_BAK,将下列代码粘贴在下面:
//修正后的返回拼音
function ReturnPinyinFun($hz){
global $ecms_config;
include_once(ECMS_PATH.'e/class/pinyin.php');
$py = new PinYin();
$all_py = $py->get_all_py(trim($hz));
return join('',$all_py);
}
2.将附件pinyin.php复制到e/class目录下。