발송 발송 때 관리자 메일 주소 적용되도록 수정

This commit is contained in:
chicpro
2014-05-29 10:40:53 +09:00
parent 40b48e92b9
commit 07907c0315
4 changed files with 8 additions and 15 deletions

View File

@ -143,7 +143,6 @@ if($w == '' && ($_POST['cp_sms_send'] || $_POST['cp_email_send'])) {
}
$count = count($arr_send_list);
$admin = get_admin('super');
for($i=0; $i<$count; $i++) {
if(!$arr_send_list[$i]['mb_id'])
@ -191,7 +190,7 @@ if($w == '' && ($_POST['cp_sms_send'] || $_POST['cp_email_send'])) {
$content = ob_get_contents();
ob_end_clean();
mailer($config['cf_title'], $admin['mb_email'], $email, $title, $content, 1);
mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $email, $title, $content, 1);
}
}

View File

@ -103,9 +103,7 @@ if ($od_send_mail)
sql_query(" update {$g5['g5_shop_order_table']} set od_shop_memo = '$od_shop_memo' where od_id = '$od_id' ");
$admin = get_admin('super');
mailer($config['cf_title'], $admin['mb_email'], $email, $title, $content, 1);
mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $email, $title, $content, 1);
}
}
?>