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

来自:互联网
时间:2018-08-26
阅读:

打开 /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);
}*/
返回顶部
顶部