From afd6447581a576d1e9343fb5ca939fb56fb79914 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 11 Sep 2014 09:49:16 +0900 Subject: [PATCH] =?UTF-8?q?<=3F=EB=A5=BC=20<=3Fphp=20=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/syndi/ping.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/plugin/syndi/ping.php b/plugin/syndi/ping.php index bdbd49aeb..fe5610c01 100644 --- a/plugin/syndi/ping.php +++ b/plugin/syndi/ping.php @@ -1,19 +1,19 @@ - 1) +if ($board['bo_read_level'] > 1) die("비회원 읽기가 가능한 게시판만 신디케이션을 지원합니다."); -if (strstr($write['wr_option'], 'secret')) +if (strstr($write['wr_option'], 'secret')) die("비밀글은 신디케이션을 지원하지 않습니다."); -if (preg_match('#^('.$config['cf_syndi_except'].')$#', $bo_table)) +if (preg_match('#^('.$config['cf_syndi_except'].')$#', $bo_table)) die("신디케이션에서 제외된 게시판입니다."); $title = htmlspecialchars($write['wr_subject']); @@ -32,9 +32,9 @@ $replace = array('&', ' '); # 바꾼다 $content = str_replace( $find, $replace, $write['wr_content'] ); $summary = str_replace( $find, $replace, strip_tags($write['wr_content']) ); -Header("Content-type: text/xml"); -header("Cache-Control: no-cache, must-revalidate"); -header("Pragma: no-cache"); +Header("Content-type: text/xml"); +header("Cache-Control: no-cache, must-revalidate"); +header("Pragma: no-cache"); echo "\n"; echo "\n";