관리자: 변수 상수 제외 홑따옴표

This commit is contained in:
whitedot
2012-12-26 14:47:34 +09:00
parent a441937076
commit b023c3414d
55 changed files with 594 additions and 598 deletions

View File

@ -8,8 +8,8 @@ if (!defined("_BOARD_DELETE_")) exit; // 개별 페이지 접근 불가
if (!$tmp_bo_table) { return; }
// 게시판 1개는 삭제 불가 (게시판 복사를 위해서)
//$row = sql_fetch(" select count(*) as cnt from $g4[board_table] ");
//if ($row[cnt] <= 1) { return; }
//$row = sql_fetch(" select count(*) as cnt from $g4['board_table'] ");
//if ($row['cnt'] <= 1) { return; }
// 게시판 설정 삭제
sql_query(" delete from {$g4['board_table']} where bo_table = '{$tmp_bo_table}' ");