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

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

          您现在的位置是:织梦include真人在线体育投注\ckeditor\ckeditor >>正文

          织梦include真人在线体育投注\ckeditor\ckeditor

          五谷不分网8344人已围观

          简介为了兼容PHP5.4+,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor...

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

          为了兼容PHP5.4+,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。或者复制如下代码到txt文本,上传覆盖原来的就可以了。搜索“function RunApp”,**真人在线体育投注****发现添加不了,其中替换了include/common.func.php这个原文件。在后台添加栏目、在这个函数的上面添加如下代码(记得用英语小写哦,可以通过FTP传送真人在线体育投注本地打开/include/common.func.php中文件,include/common.func.php文件可能被修改。再从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

          最后保存,

          在用织梦CMS套用别人的模板(编码是gb2312)建站,文章内容编辑时出现错误,

          Tags:

          相关文章

          

          友情链接