1:1 문의 및 내용관리 상단 하단 경로 수정
This commit is contained in:
@ -19,7 +19,7 @@ if (!$co['co_id'])
|
|||||||
|
|
||||||
$g5['title'] = $co['co_subject'];
|
$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']);
|
@include_once($co['co_include_head']);
|
||||||
else
|
else
|
||||||
include_once('./_head.php');
|
include_once('./_head.php');
|
||||||
@ -85,7 +85,7 @@ if(is_file($skin_file)) {
|
|||||||
echo '<p>'.str_replace(G5_PATH.'/', '', $skin_file).'이 존재하지 않습니다.</p>';
|
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']);
|
@include_once($co['co_include_tail']);
|
||||||
else
|
else
|
||||||
include_once('./_tail.php');
|
include_once('./_tail.php');
|
||||||
|
|||||||
@ -9,7 +9,7 @@ if (G5_IS_MOBILE) {
|
|||||||
include_once('./_head.php');
|
include_once('./_head.php');
|
||||||
echo conv_content($qaconfig['qa_mobile_content_head'], 1);
|
echo conv_content($qaconfig['qa_mobile_content_head'], 1);
|
||||||
} else {
|
} 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']);
|
@include ($qaconfig['qa_include_head']);
|
||||||
else
|
else
|
||||||
include ('./_head.php');
|
include ('./_head.php');
|
||||||
|
|||||||
@ -7,7 +7,7 @@ if (G5_IS_MOBILE) {
|
|||||||
include_once('./_tail.php');
|
include_once('./_tail.php');
|
||||||
} else {
|
} else {
|
||||||
echo conv_content($qaconfig['qa_content_tail'], 1);
|
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']);
|
@include ($qaconfig['qa_include_tail']);
|
||||||
else
|
else
|
||||||
include ('./_tail.php');
|
include ('./_tail.php');
|
||||||
|
|||||||
Reference in New Issue
Block a user