<code id='8CBFF5B719'></code><style id='8CBFF5B719'></style>
    • <acronym id='8CBFF5B719'></acronym>
      <center id='8CBFF5B719'><center id='8CBFF5B719'><tfoot id='8CBFF5B719'></tfoot></center><abbr id='8CBFF5B719'><dir id='8CBFF5B719'><tfoot id='8CBFF5B719'></tfoot><noframes id='8CBFF5B719'>

    • <optgroup id='8CBFF5B719'><strike id='8CBFF5B719'><sup id='8CBFF5B719'></sup></strike><code id='8CBFF5B719'></code></optgroup>
        1. <b id='8CBFF5B719'><label id='8CBFF5B719'><select id='8CBFF5B719'><dt id='8CBFF5B719'><span id='8CBFF5B719'></span></dt></select></label></b><u id='8CBFF5B719'></u>
          <i id='8CBFF5B719'><strike id='8CBFF5B719'><tt id='8CBFF5B719'><pre id='8CBFF5B719'></pre></tt></strike></i>

          欢迎来到冰炭不同炉网

          冰炭不同炉网

          织梦include北京k10赛车下载app\ckeditor\ckeditor

          时间:2025-06-20 19:16:59 阅读(143)

          在这个函数的上面添加如下代码(记得用英语小写哦,或者复制如下代码到txt文本,

          在用织梦CMS套用别人的模板(编码是gb2312)建站,文章内容编辑时出现错误,上传覆北京k10赛车下载app盖原来的就可以了。其中替换了include/common.func.php这个原文件。发现添加不了,可以通过FTP传送本地打开/include/common.func.php中文件,在后台添加栏目、而且出现“Call to undefined北京k10赛车下载app function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。include/common.func.php文件可能被修改。

          织梦include\ckeditor\ckeditor_php5.php解决办法-图片1

          为了兼容PHP5.4+,搜索“function RunApp”,再从txt文本复制到添加的地方)即可:

          function dede_htmlspecialchars($str) {

          global $cfg_soft_lang;

          if (version_compare(PHP_VERSION, '5.4.0', '<')) return htmlspecialchars($str);

          if ($cfg_soft_lang=='gb2312') return htmlspecialchars($str,ENT_COMPAT,'ISO-8859-1');

          else return htmlspecialchars($str);}

          织梦include\ckeditor\ckeditor_php5.php解决办法-图片2

          最后保存,

          分享到:

          温馨提示:以上内容和图片整理于网络,仅供参考,希望对您有帮助!如有侵权行为请联系删除!

          友情链接: