edit gitignore and add extend, head.sub.php edit

This commit is contained in:
2026-05-28 12:43:04 +09:00
parent e2ef164575
commit 0ef09d5b2c
13 changed files with 561 additions and 26 deletions

View File

@ -4,6 +4,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
$g5_debug['php']['begin_time'] = $begin_time = get_microtime();
// 게시판이고 page가 선언되지 않거나 0인 경우 '페이지' 문구 제거
if (isset($bo_table)) {
global $page;
if (!$page || $page < 1) {
$g5['title'] = preg_replace('/\s*[0-9]*\s*페이지/u', '', $g5['title']);
}
}
if (!isset($g5['title'])) {
$g5['title'] = $config['cf_title'];
$g5_head_title = $g5['title'];