Merge branch 'g5'

This commit is contained in:
chicpro
2014-07-18 10:46:00 +09:00
2 changed files with 1 additions and 4 deletions

View File

@ -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 = "<?php\nif (!defined('_GNUBOARD_')) exit;\n\$bo_subject=\"".$bo_subject."\";\n\$list=".var_export($list, true)."?>";
$cache_content = "<?php\nif (!defined('_GNUBOARD_')) exit;\n\$bo_subject='".$bo_subject."';\n\$list=".var_export($list, true)."?>";
fwrite($handle, $cache_content);
fclose($handle);
}

View File

@ -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;