From 86fb983eaca1b03c76bad4f09d38e4916a83afb4 Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 18 Jun 2019 17:20:41 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=80=20=EB=B3=B5=EC=82=AC=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=EC=8B=9C=20=EC=B2=A8=EB=B6=80=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EB=B3=80=EA=B2=BD=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/move_update.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bbs/move_update.php b/bbs/move_update.php index 6488933982..436b0ce4ec 100644 --- a/bbs/move_update.php +++ b/bbs/move_update.php @@ -127,7 +127,7 @@ // 제이프로님 코드제안 적용 $copy_file_name = ($bo_table !== $move_bo_table) ? $row3['bf_file'] : $row2['wr_id'].'_copy_'.$insert_id.'_'.$row3['bf_file']; @copy($src_dir.'/'.$row3['bf_file'], $dst_dir.'/'.$copy_file_name); - @chmod($dst_dir.'/'.$row3['bf_file'], G5_FILE_PERMISSION); + @chmod($dst_dir.'/'.$copy_file_name, G5_FILE_PERMISSION); } $sql = " insert into {$g5['board_file_table']} @@ -199,8 +199,12 @@ for ($i=0; $i