Skip to main content
头部广告图片
  主页 > CMS教程

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

2025-11-19 浏览:

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