경로 정리 - 큰일었어요!!!
This commit is contained in:
@ -92,7 +92,7 @@ for ($i=count($tmp_array)-1; $i>=0; $i--)
|
||||
$result2 = sql_query($sql2);
|
||||
while ($row2 = sql_fetch_array($result2))
|
||||
// 파일삭제
|
||||
@unlink($g4['path'].'/data/file/'.$bo_table.'/'.$row2['bf_file']);
|
||||
@unlink(G4_PATH.'/data/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