신디케이션 수집 제외게시판 코드 추가

This commit is contained in:
SIR
2014-07-08 15:12:33 +09:00
parent 9de6eea4f0
commit c73870c129
4 changed files with 22 additions and 5 deletions

View File

@ -10,12 +10,12 @@ if ($group['gr_use_access'])
if ($board['bo_read_level'] > 1)
die("비회원 읽기가 가능한 게시판만 신디케이션을 지원합니다.");
if (preg_match('#^('.SYNDI_EXCEPT_TABLE.')$#', $bo_table))
die("신디케이션에서 제외된 게시판입니다.");
if (strstr($write['wr_option'], 'secret'))
die("비밀글은 신디케이션을 지원하지 않습니다.");
if (preg_match('#^('.$config['cf_syndi_except'].')$#', $bo_table))
die("신디케이션에서 제외된 게시판입니다.");
$title = htmlspecialchars($write['wr_subject']);
$author = htmlspecialchars($write['wr_name']);
$published = date('Y-m-d\TH:i:s\+09:00', strtotime($write['wr_datetime']));