Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
1:1 문의 및 내용관리 상단 하단 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Aug 16, 2017
1 parent 87d6b7b commit e7a3959
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bbs/content.php
Expand Up @@ -19,7 +19,7 @@

$g5['title'] = $co['co_subject'];

if (is_include_path_check($co['co_include_head']))
if ($co['co_include_head'] && is_include_path_check($co['co_include_head']))
@include_once($co['co_include_head']);
else
include_once('./_head.php');
Expand Down Expand Up @@ -85,7 +85,7 @@
echo '<p>'.str_replace(G5_PATH.'/', '', $skin_file).'이 존재하지 않습니다.</p>';
}

if (is_include_path_check($co['co_include_tail']))
if ($co['co_include_tail'] && is_include_path_check($co['co_include_tail']))
@include_once($co['co_include_tail']);
else
include_once('./_tail.php');
Expand Down
2 changes: 1 addition & 1 deletion bbs/qahead.php
Expand Up @@ -9,7 +9,7 @@
include_once('./_head.php');
echo conv_content($qaconfig['qa_mobile_content_head'], 1);
} else {
if(is_include_path_check($qaconfig['qa_include_head']))
if($qaconfig['qa_include_head'] && is_include_path_check($qaconfig['qa_include_head']))
@include ($qaconfig['qa_include_head']);
else
include ('./_head.php');
Expand Down
2 changes: 1 addition & 1 deletion bbs/qatail.php
Expand Up @@ -7,7 +7,7 @@
include_once('./_tail.php');
} else {
echo conv_content($qaconfig['qa_content_tail'], 1);
if(is_include_path_check($qaconfig['qa_include_tail']))
if($qaconfig['qa_include_tail'] && is_include_path_check($qaconfig['qa_include_tail']))
@include ($qaconfig['qa_include_tail']);
else
include ('./_tail.php');
Expand Down

0 comments on commit e7a3959

Please sign in to comment.