#365 에 따른 메일 제목에 사이트명 추가

This commit is contained in:
chicpro
2013-03-11 16:14:34 +09:00
parent 998094f165
commit f243e38c05
4 changed files with 9 additions and 9 deletions

View File

@ -48,7 +48,7 @@ if (empty($wr['wr_id']))
// 이 옵션을 사용 안 함으로 설정할 경우 어떤 스크립트도 실행 되지 않습니다.
//if (!trim($_POST["wr_content"])) die ("내용을 입력하여 주십시오.");
if ($member[mb_id])
if ($is_member)
{
$mb_id = $member['mb_id'];
// 4.00.13 - 실명 사용일때 댓글에 별명으로 입력되던 오류를 수정
@ -193,7 +193,7 @@ if ($w == 'c') // 댓글 입력
$warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'댓글 ', 'cu'=>'댓글 수정' );
$str = $warr[$w];
$subject = $board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.';
$subject = '['.$config['cf_title'].'] '.$board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.';
// 4.00.15 - 메일로 보내는 댓글의 바로가기 링크 수정
$link_url = G4_BBS_URL."/board.php?bo_table=".$bo_table."&wr_id=".$wr_id."&".$qstr."#c_".$comment_id;
@ -281,7 +281,7 @@ else if ($w == 'cu') // 댓글 수정
and wr_is_comment = 1 ";
$row = sql_fetch($sql);
if ($row['cnt'] && !$is_admin)
alert('이 댓글와 관련된 답변댓글 존재하므로 수정 할 수 없습니다.');
alert('이 댓글와 관련된 답변댓글 존재하므로 수정 할 수 없습니다.');
$sql_ip = "";
if (!$is_admin)