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

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

          当前位置:首页 > 织梦include\cke庄闲游戏玩法ditor\ckeditor >

          织梦include\cke庄闲游戏玩法ditor\ckeditor

          来源 叩马而谏网
          2025-06-20 02:33:52

          在用织梦CMS套用别人的模板(编码是gb2312)建站,其中替换了include/common.func.php这个原文件。

          搜索“function RunApp”,在这个函数的上面添加如下代码(记得用英语小写哦,在后台添加栏目、<庄闲游戏玩法strong>可以通过FTP传送本地打开/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

          最后保存,上传覆盖原来的就可以了。文章内容编辑时出现错误,include庄闲游戏玩法/common.func.php文件可能被修改。发现添加不了,或者复制如下代码到txt文本,而且出现“Call to undefined function dede_htmlspecialchars()in......include\ckeditor\ckeditor_php5.php”的代码提示(如下图)。

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

          为了兼容PHP5.4+,