가입메일 인증메일 동시 사용 때 가입메일만 발송되도록 수정

This commit is contained in:
chicpro
2014-02-06 13:38:07 +09:00
parent 47c41077d5
commit 520ed9204c
2 changed files with 6 additions and 0 deletions

View File

@ -252,6 +252,10 @@ if ($w == '') {
ob_end_clean();
mailer($config['cf_title'], $config['cf_admin_email'], $mb_email, $subject, $content, 1);
// 메일인증을 사용하는 경우 가입메일에 인증 url이 있으므로 인증메일을 다시 발송되지 않도록 함
if($config['cf_use_email_certify'])
$old_email = $mb_email;
}
// 최고관리자님께 메일 발송

View File

@ -21,7 +21,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<a href="<?php echo G5_URL ?>" target="_blank"><?php echo $config['cf_title'] ?></a>
</span>
<p style="margin:20px 0 0;padding:30px 30px 50px;min-height:200px;height:auto !important;height:200px;border-bottom:1px solid #eee">
<?php if($w == 'u') { ?>
<b><?php echo $mb_name ?></b> 님의 E-mail 주소가 변경되었습니다.<br><br>
<?php } ?>
아래의 주소를 클릭하시면 인증이 완료됩니다.<br>
<a href="<?php echo $certify_href ?>" target="_blank"><b><?php echo $certify_href ?></b></a><br><br>