diff --git a/head.sub.php b/head.sub.php index b75f0e973..f26b0ebc5 100644 --- a/head.sub.php +++ b/head.sub.php @@ -4,10 +4,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 $begin_time = get_microtime(); -if (!isset($g4['title'])) // 페이지 제목이 없으면 환경설정의 홈페이지 제목 출력 +$g4_head_title = $g4['title']; // 상태바에 표시될 제목 +if (!isset($g4['title'])) { $g4['title'] = $config['cf_title']; -else // 페이지 제목이 있으면 페이지 제목에 환경설정의 홈페이지 제목을 더해서 출력 - $g4['title'] .= " : ".$config['cf_title']; + $g4_head_title = $g4['title']; +} +else + $g4_head_title .= " : ".$config['cf_title']; // 현재 접속자 //$lo_location = get_text($g4[title]); @@ -37,7 +40,7 @@ else $g4_css = "default"; if (G4_IS_MOBILE) {?> } ?> -