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目录下。