From 01d2b5a6dbc24eb36533282c3ed44a3e2c581d38 Mon Sep 17 00:00:00 2001
From: chicpro
Date: Mon, 8 Apr 2013 09:20:29 +0900
Subject: [PATCH 1/2] =?UTF-8?q?=EB=B9=84=EB=B0=80=EA=B8=80=20=EC=97=B4?=
=?UTF-8?q?=EB=9E=8C=EC=8B=9C=20=EB=8F=8C=EC=95=84=EA=B0=80=EA=B8=B0=20?=
=?UTF-8?q?=EB=A7=81=ED=81=AC=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
---
bbs/password.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bbs/password.php b/bbs/password.php
index 2751d8cc4..287032410 100644
--- a/bbs/password.php
+++ b/bbs/password.php
@@ -23,7 +23,7 @@ switch ($w) {
goto_url('./board.php?bo_table='.$bo_table.'&wr_id='.$wr_id);
else {
$action = './password_check.php';
- $return_url = $_SERVER['HTTP_REFERER'];
+ $return_url = './board.php?bo_table='.$bo_table;
}
break;
default :
From 37ea24f14b2f562ed7b12b591bcab548fd473321 Mon Sep 17 00:00:00 2001
From: chicpro
Date: Mon, 8 Apr 2013 09:35:27 +0900
Subject: [PATCH 2/2] =?UTF-8?q?=EC=9D=B4=EB=A9=94=EC=9D=BC=EC=9D=B8?=
=?UTF-8?q?=EC=A6=9D=20=ED=9B=84=20=EC=9D=B4=EB=8F=99=20url=20=EC=98=A4?=
=?UTF-8?q?=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
---
bbs/email_certify.php | 18 +++++++++---------
bbs/register_form_update_mail3.php | 4 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/bbs/email_certify.php b/bbs/email_certify.php
index f689866a1..31c816d82 100644
--- a/bbs/email_certify.php
+++ b/bbs/email_certify.php
@@ -1,21 +1,21 @@
include_once('./_common.php');
-$sql = " select mb_id, mb_email, mb_datetime from {$g4[member_table]} where mb_id = '{$mb_id}' ";
+$sql = " select mb_id, mb_email, mb_datetime from {$g4['member_table']} where mb_id = '{$mb_id}' ";
$row = sql_fetch($sql);
-if (!$row[mb_id])
- alert('존재하는 회원이 아닙니다.', G4_PATH);
+if (!$row['mb_id'])
+ alert('존재하는 회원이 아닙니다.', G4_URL);
-if ($mb_md5)
+if ($mb_md5)
{
- $tmp_md5 = md5($row[mb_id].$row[mb_email].$row[mb_datetime]);
- if ($mb_md5 == $tmp_md5)
+ $tmp_md5 = md5($row['mb_id'].$row['mb_email'].$row['mb_datetime']);
+ if ($mb_md5 == $tmp_md5)
{
- sql_query(" update {$g4[member_table]} set mb_email_certify = '".G4_TIME_YMDHIS."' where mb_id = '{$mb_id}' ");
+ sql_query(" update {$g4['member_table']} set mb_email_certify = '".G4_TIME_YMDHIS."' where mb_id = '{$mb_id}' ");
- alert('E-mail 인증 처리를 완료 하였습니다.', G4_PATH);
+ alert('E-mail 인증 처리를 완료 하였습니다.', G4_URL);
}
}
-alert('제대로 된 값이 넘어오지 않았습니다.', G4_PATH);
+alert('제대로 된 값이 넘어오지 않았습니다.', G4_URL);
?>
\ No newline at end of file
diff --git a/bbs/register_form_update_mail3.php b/bbs/register_form_update_mail3.php
index b7cd690f5..3f5991b17 100644
--- a/bbs/register_form_update_mail3.php
+++ b/bbs/register_form_update_mail3.php
@@ -24,12 +24,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
=$mb_name?> 님의 E-mail 주소가 변경되었습니다.
아래의 주소를 클릭하시면 인증이 완료됩니다.
- =$certify_href?>
+ =$certify_href?>
회원님의 성원에 보답하고자 더욱 더 열심히 하겠습니다.
감사합니다.
- =$config['cf_title']?> 로그인
+ =$config['cf_title']?> 로그인