diff --git a/lib/common.lib.php b/lib/common.lib.php index b1f75f4a0..056681f0a 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1961,9 +1961,10 @@ function html_end() preg_match('#(.*)#is', $buffer, $bodys); preg_match_all('/]+>/i', $bodys[0], $links); $stylesheet = ''; - for ($i=0; $i$link) { + //$link = PHP_EOL.$links[0][$i]; + $stylesheet .= PHP_EOL.$link; $buffer = preg_replace('#'.$link.'#', '', $buffer); } return preg_replace('#()#', "$1$stylesheet", $buffer); diff --git a/lib/latest.lib.php b/lib/latest.lib.php index a22cc4fbf..eb82e7d65 100644 --- a/lib/latest.lib.php +++ b/lib/latest.lib.php @@ -39,11 +39,13 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40) include_once($cache_file); + /* // 같은 스킨은 .css 를 한번만 호출한다. if (!in_array($skin_dir, $css) && is_file($latest_skin_path.'/style.css')) { echo ''; $css[] = $skin_dir; } + */ ob_start(); include $latest_skin_path.'/latest.skin.php'; diff --git a/skin/latest/basic/latest.skin.php b/skin/latest/basic/latest.skin.php index 51184902b..55e08d98d 100644 --- a/skin/latest/basic/latest.skin.php +++ b/skin/latest/basic/latest.skin.php @@ -2,6 +2,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 ?> + +