帝国CMS拼音函数调用出现打开转换表文件失败的解决办法

原因:外部调用拼音函数时,转换表目录不能正确识别。

解决方法

  1. 修改文件:/e/class/doiconv.php
    • 找到以下代码:
       
       
      $this->config['codetable_dir'] = $dir . "../data/codetable/";
    • 替换为:
       
       
      $this->config['codetable_dir'] = ECMS_PATH . 'e/data/codetable/';

 

posted @ 2024-11-25 08:32  黄文Rex  阅读(14)  评论(0)    收藏  举报