게시판 설정 작업 중

This commit is contained in:
whitedot
2012-11-09 18:25:19 +09:00
parent 33f680c22b
commit 86199c0cfd
7 changed files with 668 additions and 570 deletions

View File

@ -12,19 +12,19 @@ if (!$tmp_bo_table) { return; }
//if ($row[cnt] <= 1) { return; }
// 게시판 설정 삭제
sql_query(" delete from {$g4['board_table']} where bo_table = '$tmp_bo_table' ");
sql_query(" delete from {$g4['board_table']} where bo_table = '{$tmp_bo_table}' ");
// 최신글 삭제
sql_query(" delete from {$g4['board_new_table']} where bo_table = '$tmp_bo_table' ");
sql_query(" delete from {$g4['board_new_table']} where bo_table = '{$tmp_bo_table}' ");
// 스크랩 삭제
sql_query(" delete from {$g4['scrap_table']} where bo_table = '$tmp_bo_table' ");
sql_query(" delete from {$g4['scrap_table']} where bo_table = '{$tmp_bo_table}' ");
// 파일 삭제
sql_query(" delete from {$g4['board_file_table']} where bo_table = '$tmp_bo_table' ");
sql_query(" delete from {$g4['board_file_table']} where bo_table = '{$tmp_bo_table}' ");
// 게시판 테이블 DROP
sql_query(" drop table {$g4['write_prefix']}$tmp_bo_table ", FALSE);
sql_query(" drop table {$g4['write_prefix']}{$tmp_bo_table} ", FALSE);
// 게시판 폴더 전체 삭제
rm_rf($g4['path'].'/data/file/'.$tmp_bo_table);