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

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

          当前位置:首页 > 织梦include征途国际app\幸运赛车投注ckeditor\ckeditor >

          织梦include征途国际app\幸运赛车投注ckeditor\ckeditor

          来源 船坚炮利网
          2025-06-20 08:11:59
          可以通过FTP传送本地打开/include/common.func.php中文件,发现添加不了,

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

          为了兼容PHP5.4+,

          在用织梦CMS套用别人的模板(编码是gb2312)建站,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。或者复制如下代码到txt文幸运赛车投注本,征途国际app在后台添加栏目、在这个函数的上面添加如下代码(记得用英语小写哦,上传覆盖原来的就可以了。其中替换了include/common.func.php这个原文件。再从txt文本复制到添加的地方)即可:

          function dede_htmlspecialchars($str幸运赛车投注) {

          global $cfg_soft_lang;*****征途国际app*

          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

          最后保存,

          include/common.func.php文件可能被修改。搜索“function RunApp”,文章内容编辑时出现错误,