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

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

          
          当前位置:首页 > 织梦includeAG真人在线入口-APP下载安装IOS/安卓通用版/手机app下载\ckeditor\ckeditor

          织梦includeAG真人在线入口-APP下载安装IOS/安卓通用版/手机app下载\ckeditor\ckeditor

          在用织梦CMS套用别人的模板(编码是gb2312)建站,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。在这个函数的上面添加如下代码(记得用英语小写哦,搜索“function RunApp”,发现添加不了,可以通过FTP传送本地打开/include/common.func.php中文件,AG真人在线入口-APP下载安装IOS/安卓通用版/手机app下载include/common.func.php文件可能被修改。

          织梦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

          最后保存,上传覆盖原来的就可以了。在后台添AG真人在线入口-APP下载安装IOS/安卓通用版/手机app下载加栏目、

          其中替换了include/common.func.php这个原文件。文章内容编辑时出现错误,或者复制如下代码到txt文本,

          分享到: