diff --git a/bbs/write_update.php b/bbs/write_update.php index e8beab91b..ced4dbff6 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -10,6 +10,7 @@ $msg = array(); $wr_subject = ''; if (isset($_POST['wr_subject'])) { $wr_subject = substr(trim($_POST['wr_subject']),0,255); + $wr_subject = preg_replace("#[\\\]+$#", "", $wr_subject); } if ($wr_subject == '') { $msg[] = '제목을 입력하세요.'; diff --git a/install/install_db.php b/install/install_db.php index 656f90967..1d0407eb6 100644 --- a/install/install_db.php +++ b/install/install_db.php @@ -120,7 +120,7 @@ $sql = " insert into `{$table_prefix}config` cf_mobile_search_skin = 'basic', cf_mobile_connect_skin = 'basic', cf_mobile_member_skin = 'basic', - cf_editor = 'ckeditor4', + cf_editor = 'smarteditor2', cf_captcha_mp3 = 'basic', cf_register_level = '2', cf_register_point = '1000', diff --git a/lib/latest.lib.php b/lib/latest.lib.php index 214147b02..150438b8e 100644 --- a/lib/latest.lib.php +++ b/lib/latest.lib.php @@ -54,7 +54,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time= if($cache_fwrite) { $handle = fopen($cache_file, 'w'); - $cache_content = ""; + $cache_content = ""; fwrite($handle, $cache_content); fclose($handle); } diff --git a/lib/naver_syndi.lib.php b/lib/naver_syndi.lib.php index f3d9ab73a..cbe0b8c8b 100644 --- a/lib/naver_syndi.lib.php +++ b/lib/naver_syndi.lib.php @@ -24,9 +24,6 @@ function naver_syndi_ping($bo_table, $wr_id) // 토큰값이 없다면 네이버 신디케이션 사용안함 if ($token == '') return 0; - - // 토큰의 길이는 112 글자입니다. - if (strlen($token) != 112) return -1; // 신디케이션 수집 제외게시판 if (preg_match('#^('.$config['cf_syndi_except'].')$#', $bo_table)) return -2;