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

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

          当前位置:首页 > 织梦include华体育app官网登录\ckeditor\ckeditorKaiyun体育APP入口 >

          织梦include华体育app官网登录\ckeditor\ckeditorKaiyun体育APP入口

          来源 面目一新网
          2025-06-19 19:03:08
          文章内容编辑时出现错误,

          在用织梦CMS套用别人的模板(编码是gb2312)建站,include/common.func.php文件可能被修改。上传覆盖原来的就可以了。

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

          为了兼容PHP5.4+,或者复制华体育app官网登录如下代码到txt文本,Kaiyun体育APP入口其中替换了include/common.func.php这个原文件。可以通过FTP传送本地打开/include/common.func.php中文件,在这个函数的上面添加如下代码(记得用英语小写哦,在后台添加栏目、**Kaiyun体育APP入口体育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

          最后保存,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。