From d3bfd522f92ed5659e602d894a20d8e363807f53 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 3 May 2013 13:58:21 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9C=B4=EB=8C=80=ED=8F=B0=EB=B2=88=ED=98=B8?= =?UTF-8?q?=EC=97=90=EC=84=9C=20-=20=EB=A5=BC=20=EC=A0=9C=EA=B1=B0?= =?UTF-8?q?=ED=95=98=EC=97=AC=20=EC=A0=80=EC=9E=A5=EB=90=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8D=98=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/kcp/kcpcert.head.skin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/kcp/kcpcert.head.skin.php b/plugin/kcp/kcpcert.head.skin.php index 0d34c64f0..d141b22b7 100644 --- a/plugin/kcp/kcpcert.head.skin.php +++ b/plugin/kcp/kcpcert.head.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 if ($msg = valid_mb_hp($mb_hp)) alert($msg, "", true, true); if ($msg = exist_mb_hp($mb_hp, $mb_id)) alert($msg, "", true, true); -$reg_hp = preg_replace("/[^0-9]/", "", trim($_POST['mb_hp'])); +$reg_mb_hp = preg_replace("/[^0-9]/", "", trim($_POST['mb_hp'])); /* ======================================================================================================= */ /* = 휴대폰인증 및 성인인증 = */ @@ -17,7 +17,7 @@ if($w == '') { alert('휴대폰인증이 되지 않았습니다. 휴대폰인증을 해주세요.', '', true, true); // 본인인증 hash 체크 - $reg_hash = md5($reg_hp.$mb_name.$kcpcert_no); + $reg_hash = md5($reg_mb_hp.$mb_name.$kcpcert_no); if(get_session('ss_kcpcert_hash') != $reg_hash) alert('이름 또는 휴대폰번호가 올바르지 않습니다. 정상적인 방법으로 이용해 주세요.', '', true, true); @@ -25,14 +25,14 @@ if($w == '') { // 휴대폰번호 변경체크 $old_hp = preg_replace("/[^0-9]/", "", trim($_POST['old_mb_hp'])); - if($old_hp !== $reg_hp) { + if($old_hp !== $reg_mb_hp) { // 본인인증체크 $kcpcert_no = get_session('ss_kcpcert_no'); if(!$kcpcert_no) alert('휴대폰번호가 변경됐습니다. 휴대폰인증을 해주세요.', '', true, true); // 본인인증 hash 체크 - $reg_hash = md5($reg_hp.$mb_name.$kcpcert_no); + $reg_hash = md5($reg_mb_hp.$mb_name.$kcpcert_no); if(get_session('ss_kcpcert_hash') != $reg_hash) alert('이름 또는 휴대폰인증 정보가 올바르지 않습니다. 정상적인 방법으로 이용해 주세요.', '', true, true); }