Merge branch 'g5'

This commit is contained in:
chicpro
2015-01-28 10:02:37 +09:00
4 changed files with 9 additions and 15 deletions

View File

@ -1085,21 +1085,21 @@ if ($config['cf_icode_id'] && $config['cf_icode_pw']) {
<tr>
<th scope="row"><label for="cf_include_index">초기화면 파일 경로</label></th>
<td>
<?php echo help('입력이 없으면 index.php가 초기화면 파일의 기본 경로로 설정됩니다.') ?>
<?php echo help('입력이 없으면 index.php가 초기화면 파일로 설정됩니다.<br>초기화면 파일은 index.php 파일과 동일한 위치에 존재해야 합니다.') ?>
<input type="text" name="cf_include_index" value="<?php echo $config['cf_include_index'] ?>" id="cf_include_index" class="frm_input" size="50">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_include_head">상단 파일 경로</label></th>
<td>
<?php echo help('입력이 없으면 head.php가 상단 파일의 기본 경로로 설정됩니다.') ?>
<?php echo help('입력이 없으면 head.php가 상단 파일로 설정됩니다.<br>상단 파일은 head.php 파일과 동일한 위치에 존재해야 합니다.') ?>
<input type="text" name="cf_include_head" value="<?php echo $config['cf_include_head'] ?>" id="cf_include_head" class="frm_input" size="50">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_include_tail">하단 파일 경로</label></th>
<td>
<?php echo help('입력이 없으면 tail.php가 하단 파일의 기본 경로로 설정됩니다.') ?>
<?php echo help('입력이 없으면 tail.php가 하단 파일로 설정됩니다.<br>초기화면 파일은 tail.php 파일과 동일한 위치에 존재해야 합니다.') ?>
<input type="text" name="cf_include_tail" value="<?php echo $config['cf_include_tail'] ?>" id="cf_include_tail" class="frm_input" size="50">
</td>
</tr>

View File

@ -10,10 +10,8 @@ include_once(G5_LIB_PATH.'/connect.lib.php');
include_once(G5_LIB_PATH.'/popular.lib.php');
// 상단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
if ($config['cf_include_head']) {
if (!@include_once($config['cf_include_head'])) {
die('기본환경 설정에서 상단 파일 경로가 잘못 설정되어 있습니다.');
}
if ($config['cf_include_head'] && is_file(G5_PATH.'/'.$config['cf_include_head']) {
include_once($config['cf_include_head']);
return; // 이 코드의 아래는 실행을 하지 않습니다.
}

View File

@ -3,10 +3,8 @@ define('_INDEX_', true);
include_once('./_common.php');
// 초기화면 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
if ($config['cf_include_index']) {
if (!@include_once($config['cf_include_index'])) {
die('기본환경 설정에서 초기화면 파일 경로가 잘못 설정되어 있습니다.');
}
if ($config['cf_include_index'] && is_file(G5_PATH.'/'.$config['cf_include_index']) {
include_once($config['cf_include_index']);
return; // 이 코드의 아래는 실행을 하지 않습니다.
}

View File

@ -2,10 +2,8 @@
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 하단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
if ($config['cf_include_tail']) {
if (!@include_once($config['cf_include_tail'])) {
die('기본환경 설정에서 하단 파일 경로가 잘못 설정되어 있습니다.');
}
if ($config['cf_include_tail'] && is_file(G5_PATH.'/'.$config['cf_include_tail']) {
include_once($config['cf_include_tail']);
return; // 이 코드의 아래는 실행을 하지 않습니다.
}