Discuz! X3.2 涂鸦板BUG修复方案之一
故障描述:Discuz! x3.2涂鸦板无法使用适合版本:
解决方案:
1.修改source/class/magic/magic_doodle.php
$config = urlencode(getsiteurl().'home.php?mod=misc&ac=swfupload&op=config&doodle=1');
改为:
$config = urlencode('/home.php?mod=misc&ac=swfupload&op=config&doodle=1');
2.home.php 顶部<?下面加上如下代码:
if ($_GET['mod'] == 'misc' && $_GET['ac'] == 'swfupload' && $_GET['op'] == 'doodle') {
define('DISABLEXSSCHECK', '1');
}
3.替换同名文件,故障解决
页:
[1]