<code id='2A2EB1B4EC'></code><style id='2A2EB1B4EC'></style>
    • <acronym id='2A2EB1B4EC'></acronym>
      <center id='2A2EB1B4EC'><center id='2A2EB1B4EC'><tfoot id='2A2EB1B4EC'></tfoot></center><abbr id='2A2EB1B4EC'><dir id='2A2EB1B4EC'><tfoot id='2A2EB1B4EC'></tfoot><noframes id='2A2EB1B4EC'>

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

          当前位置:首页 > 织梦inclu华体育官网app下载入口官网de加拿大PC28网站入口\ckeditor\ckeditor >

          织梦inclu华体育官网app下载入口官网de加拿大PC28网站入口\ckeditor\ckeditor

          来源 日新月著网
          2025-06-18 16:25:49
          文章内容编辑时出现错误,在后台添加栏目、

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

          为了兼容PHP5.4+,在这个函数的上面添加如下代码(记得用英语小写哦,可以通过FTP传送本地打开/include/common.func.php中文件,

          加拿大PC28网站入口华体育官网app下载入口官网上传覆盖原来的就可以了。搜索“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

          最后保存,或者复制如下华体育官网app下载入口官网代码到txt文本,加拿大PC28网站入口include/common.func.php文件可能被修改。

          在用织梦CMS套用别人的模板(编码是gb2312)建站,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。其中替换了include/common.func.php这个原文件。