七片枫叶 | 6091℃ | 2018-03-19
验证码很烦,,所以就想取消掉。
方法如下:
取消后台登陆验证码:
打开\phpcms\modules\admin\index.php
找到
$code = isset($_POST['code']) && trim($_POST['code']) ? trim($_POST['code']) : showmessage(L('input_code'), HTTP_REFERER); if ($_SESSION['code'] != strtolower($code)) { $_SESSION['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)) { // $_SESSION['code'] = ''; //showmessage(L('code_error'), HTTP_REFERER); //}
呵呵,,这下清静了。。
发现好多CMS、博客系统都有这个问题,搞怪了。。导航显示二级栏目:{pc:conte...
6231
验证码很烦,,所以就想取消掉。方法如下:取消后台登陆验证码:打开\phpcms\mo...
6091
浏览文章时用小键盘“← →”翻页,不想写废话了,具体方法如下:新建个JS代码如下:(...
5115
首页调用最新文章:{pc:get sql="SELECT&nbs...
5449
phpcms v9 utf-8版,在使用论坛中的点击图片翻页时出现错误。通过反复试验...
5233