phpcms v9屏蔽后臺(tái)登陸驗(yàn)證碼的方法
2016-06-24 15:50:27
14936
打開phpcmsmodulesadminindex.php
找到
$code = isset($_POST['code']) && trim($_POST['code']) ? trim($_POST['code']) : showmessage(L('input_code'), HTTP_REFERER);
if ($_SESSION['code'] != strtolower($code)) {
showmessage(L('code_error'), HTTP_REFERER);
}
改成如下(在前面添加注釋符
//$code = isset($_POST['code']) && trim($_POST['code']) ? trim($_POST['code']) : showmessage(L('input_code'), HTTP_REFERER);
//if ($_SESSION['code'] != strtolower($code)) {
//showmessage(L('code_error'), HTTP_REFERER);
//}
會(huì)員登錄
賬號(hào)登錄還沒(méi)有賬號(hào)?立即注冊(cè)