diff --git a/extend/user.config.php b/extend/user.config.php new file mode 100644 index 000000000..91e087675 --- /dev/null +++ b/extend/user.config.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/head.sub.php b/head.sub.php index 587d438c8..bcfb4b9c2 100644 --- a/head.sub.php +++ b/head.sub.php @@ -4,6 +4,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 $begin_time = get_microtime(); +// 사용자가 지정한 head.sub.php 파일이 있다면 include +if(defined('G5_HEAD_SUB_FILE') && is_file(G5_PATH.'/'.G5_HEAD_SUB_FILE)) { + include_once(G5_PATH.'/'.G5_HEAD_SUB_FILE); + return; +} + if (!isset($g5['title'])) { $g5['title'] = $config['cf_title']; $g5_head_title = $g5['title']; diff --git a/tail.sub.php b/tail.sub.php index ec5920f63..4234d2b6b 100644 --- a/tail.sub.php +++ b/tail.sub.php @@ -1,5 +1,11 @@