解决的朋友,烦请帮忙送个ip给我,武汉上班族网(http://www.monthzu.com)谢谢
根据discuz目录结构,造成空白的文件是:\source\admincp\admincp_setting.php
把以下的这段代码,删除掉就可以解决了:
$dir = DISCUZ_ROOT.'./source/class/seccode';
$codedir = dir($dir);
$seccodeext = $seccodesettings = array();
while($entry = $codedir->read()) {
if(!in_array($entry, array('.', '..')) && preg_match("/^seccode\_[\w\.]+$/", $entry) && substr($entry, -4) == '.php' && strlen($entry) < 30 && is_file($dir.'/'.$entry)) {
@include_once $dir.'/'.$entry;
$codeclass = substr($entry, 0, -4);
if(class_exists($codeclass)) {
$code = new $codeclass();
$script = substr($codeclass, 8);
if(!is_numeric($script)) {
$seccodesettings[$script]['name'] = lang('seccode/'.$script, $code->name);
$seccodesettings[$script]['copyright'] = lang('seccode/'.$script, $code->copyright);
if(method_exists($code, 'getsetting')) {
$seccodesettings[$script]['setting'] = $code->getsetting();
}
foreach($seccodetypearray as $k => $v) {
$seccodetypearray[$k][2]['seccodeextra_'.$script] = 'none';
}
$seccodetypearray[] = array($script, $seccodesettings[$script]['name'], array('seccodeimageext' => 'none', 'seccodeimagewh' => 'none', 'seccodeextra_'.$script => ''));
}
}
}
}
|