경로 및 파일명 수정
This commit is contained in:
1 parent
06f2c72d84
commit
58f7a7ccd7
59 files changed
+78
-390
No files matched your search
+1
-1
@@ -80,7 +80,7 @@ while ($row = sql_fetch_array($result))
|
||||
$sql2 = " select * from {$g4['board_file_table']} where bo_table = '$bo_table' and wr_id = '{$row['wr_id']}' ";
|
||||
$result2 = sql_query($sql2);
|
||||
while ($row2 = sql_fetch_array($result2))
|
||||
@unlink(G4_PATH.'/data/file/'.$bo_table.'/'.$row2['bf_file']);
|
||||
@unlink(G4_DATA_PATH.'/file/'.$bo_table.'/'.$row2['bf_file']);
|
||||
|
||||
// 파일테이블 행 삭제
|
||||
sql_query(" delete from {$g4['board_file_table']} where bo_table = '$bo_table' and wr_id = '{$row['wr_id']}' ");
|
||||
|
||||
Reference in new issue
Block a user