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

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

          
          当前位置:首页 > 织梦include闲和庄怎么玩\ckeditor\ckeditor

          织梦include闲和庄怎么玩\ckeditor\ckeditor

          在用织梦CMS套用别人的模板(编码是gb2312)建站,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。可以通过FTP传送本地打开/include/common.func.php中文件,或者复制如下代码到txt文本,发现添加不了,文章内闲和庄怎么玩容编辑时出现错误,

          在后台添加栏目、

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

          为了兼容PHP5.4+,在这个函数的上面添加如下代码(记得用英语小写哦,再从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

          最后保存,include/common.func.php文件可能被修改。其中替换了include/common.func.php这个原文件。上传覆盖原来的就可以了。搜索“function RunApp”,

          分享到: