PHPCMS如何取消后台登录验证码

时间:2016-05-19121举报小编:admin

打开 /phpcms/modules/admin/index.php

大概在第33行,把第33行到37行给注释掉就可以了

/*$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);
}*/