발송 발송 때 관리자 메일 주소 적용되도록 수정
This commit is contained in:
@ -3,8 +3,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
include_once(G5_LIB_PATH.'/mailer.lib.php');
|
||||
|
||||
$admin = get_admin('super');
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// 운영자에게 메일보내기
|
||||
//------------------------------------------------------------------------------
|
||||
@ -14,7 +12,7 @@ include G5_SHOP_PATH.'/mail/orderupdate1.mail.php';
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
mailer($od_name, $od_email, $admin['mb_email'], $subject, $content, 1);
|
||||
mailer($od_name, $od_email, $config['cf_admin_email'], $subject, $content, 1);
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
@ -26,7 +24,7 @@ include G5_SHOP_PATH.'/mail/orderupdate2.mail.php';
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
mailer($config['cf_title'], $admin['mb_email'], $od_email, $subject, $content, 1);
|
||||
mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $od_email, $subject, $content, 1);
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -90,7 +88,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
mailer($config['cf_title'], $admin['mb_email'], $row['it_sell_email'], $subject, $content, 1);
|
||||
mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $row['it_sell_email'], $subject, $content, 1);
|
||||
}
|
||||
//==============================================================================
|
||||
?>
|
||||
Reference in New Issue
Block a user