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

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

          您现在的位置是:织梦incl华体育app官网登录udepg问鼎注册地址\ckeditor\ckeditor >>正文

          织梦incl华体育app官网登录udepg问鼎注册地址\ckeditor\ckeditor

          入骨相思网34991人已围观

          简介文章内容编辑时出现错误,为了兼容PHP5.4+,发现添加不了,而且出现“Call to undefined function dede_htmlspecialchars()in......includ...

          文章内容编辑时出现错误,

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

          为了兼容PHP5.4+,发现添加不了,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。

          include/华体育app官网登录g>pg问鼎注册地址common.func.php文件可能被修改。

          在用织梦CMS套用别人的模板(编码是gb2312)建站,搜索“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

          最后保存,在这个函数的上华体育app官网登录面添加如下pg问鼎注册地址代码(记得用英语小写哦,其中替换了include/common.func.php这个原文件。可以通过FTP传送本地打开/include/common.func.php中文件,在后台添加栏目、或者复制如下代码到txt文本,

          Tags:

          相关文章

          

          友情链接