欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

phpcms v9屏蔽后臺登陸驗證碼的方法

  發(fā)布時間:2014-04-25 16:20:53   作者:佚名   我要評論
這篇文章主要介紹了phpcms v9屏蔽后臺登陸驗證碼的方法,需要的朋友可以參考下

打開\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)) {
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);
//}

相關文章

最新評論