打开\PHPcms\modules\admin\index.PHP@H_403_1@找到@H_403_1@
$code = isset($_POST['code']) && trim($_POST['code']) ? trim($_POST['code']) : showmessage(L('input_code'),HTTP_REFERER);@H_403_1@if ($_SESSION['code'] != strtolower($code)) {@H_403_1@showmessage(L('code_error'),HTTP_REFERER);@H_403_1@}
改成如下(在前面添加注释符)
//$code = isset($_POST['code']) && trim($_POST['code']) ? trim($_POST['code']) : showmessage(L('input_code'),HTTP_REFERER);@H_403_1@//if ($_SESSION['code'] != strtolower($code)) {@H_403_1@//showmessage(L('code_error'),HTTP_REFERER);@H_403_1@//}