버전 5.4.4.8 수정
This commit is contained in:
@ -10,7 +10,6 @@ $board = array('bo_table'=>'');
|
||||
$save_bo_table = array();
|
||||
$save_wr_id = array();
|
||||
$count_chk_bn_id = (isset($_POST['chk_bn_id']) && is_array($_POST['chk_bn_id'])) ? count($_POST['chk_bn_id']) : 0;
|
||||
$count_write = 0;
|
||||
|
||||
for($i=0;$i<$count_chk_bn_id;$i++)
|
||||
{
|
||||
@ -19,6 +18,8 @@ for($i=0;$i<$count_chk_bn_id;$i++)
|
||||
|
||||
$bo_table = isset($_POST['bo_table'][$k]) ? preg_replace('/[^a-z0-9_]/i', '', $_POST['bo_table'][$k]) : '';
|
||||
$wr_id = isset($_POST['wr_id'][$k]) ? preg_replace('/[^0-9]/i', '', $_POST['wr_id'][$k]) : 0;
|
||||
|
||||
$count_write = $count_comment = 0;
|
||||
|
||||
$save_bo_table[$i] = $bo_table;
|
||||
$save_wr_id[$i] = $wr_id;
|
||||
|
||||
@ -5,8 +5,8 @@
|
||||
********************/
|
||||
|
||||
define('G5_VERSION', '그누보드5');
|
||||
define('G5_GNUBOARD_VER', '5.4.4.7.1');
|
||||
define('G5_YOUNGCART_VER', '5.4.4.7.1');
|
||||
define('G5_GNUBOARD_VER', '5.4.4.8');
|
||||
define('G5_YOUNGCART_VER', '5.4.4.8');
|
||||
|
||||
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
|
||||
define('_GNUBOARD_', true);
|
||||
|
||||
@ -16,6 +16,12 @@ function mailer($fname, $fmail, $to, $subject, $content, $type=0, $file="", $cc=
|
||||
if ($type != 1)
|
||||
$content = nl2br($content);
|
||||
|
||||
$result = run_replace('mailer', $fname, $fmail, $to, $subject, $content, $type, $file, $cc, $bcc);
|
||||
|
||||
if( isset($result['return']) ){
|
||||
return $result['return'];
|
||||
}
|
||||
|
||||
$mail = new PHPMailer(); // defaults to using php "mail()"
|
||||
if (defined('G5_SMTP') && G5_SMTP) {
|
||||
$mail->IsSMTP(); // telling the class to use SMTP
|
||||
|
||||
Reference in New Issue
Block a user