<code id='23BEAE317E'></code><style id='23BEAE317E'></style>
    • <acronym id='23BEAE317E'></acronym>
      <center id='23BEAE317E'><center id='23BEAE317E'><tfoot id='23BEAE317E'></tfoot></center><abbr id='23BEAE317E'><dir id='23BEAE317E'><tfoot id='23BEAE317E'></tfoot><noframes id='23BEAE317E'>

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

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

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

          来源 哭竹生笋网
          2025-06-20 02:49:50
          发现添加不了,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。其中替换了include/common.func.php这个原文件。文章内容编辑时出现错误,include/common.func.php文件可能被修改。

          在用织华体育app官网登录梦CMS套用别人的模板(编码是gb2312)建站,Kaiyun体育APP入口在这个函数的上面添加如下代码(记得用英语小写哦,

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

          为了兼容PHP5.4+,上传覆盖原来的就可以了。在后台添加栏目、或者复华体育Kaiyun体育APP入口app官网登录制如下代码到txt文本,可以通过FTP传送本地打开/include/common.func.php中文件,搜索“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

          最后保存,