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

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

          织梦includeag电游游戏网址\ckeditor\ckeditor大满贯

          在后台添加栏目、而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。其中替换了include/common.func.php这个原文件。

          include/common.func.php文件可能被修改。

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

          为了兼容PHP5.4+,

          在用织梦CMS套用别人的模板(编码是gb2312)建站,搜索“function RunApp”,在这个函数的上面添加如下代码(记得用英语小写哦,上传覆盖原来的就可以了。可以通过FTP传送本地打开/include<大满贯strong>ag电游游戏网址/common.func.php中文件,或者复制如下代码到txt文本,再从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

          最后保存,发现添加不了,文章内容编辑时出现错误,