자주묻는질문 1 페이지 | 그누보드5

검색현황 전체 1건 / 1페이지

게시판/컨텐츠 설정에서 head 와 tail 의 경로입력 항목에 값을 넣은 경우
모바일에서는 입력된 include 값이 작동되지 않는 문제가 있습니다.

 

//////////////////////////////////////////////////////////////////////////////////////

20.04.20 11:43:11  SIR  공식 답변

해당 코드 부분은 아주 옛날부터 그렇게 되어 있는 부분이기 때문에
함부로 코드를 변경할수 없습니다.

2013년도 이전에도 그렇게 되어 있기 때문에, 그 부분을 변경하면 전부터 사용해 왔던
사용자들은 문제가 될수 있습니다.

해당 코드는 변경하지 않겠습니다.

//////////////////////////////////////////////////////////////////////////////////////

그누보드 5.0 ~ 5.4.2.4  까지 확인


1. mobile / content.php 에서

include_once('./_head.php');

를 아래와 같이 변경

if ($co['co_include_head'] && is_include_path_check($co['co_include_head']))
@include_once($co['co_include_head']);
else
include_once('./_head.php');


2. mobile / content.php 에서

include_once('./_tail.php');

를 아래와 같이 변경

if ($co['co_include_tail'] && is_include_path_check($co['co_include_tail']))
@include_once($co['co_include_tail']);
else
include_once('./_tail.php');


3. bbs / board_head.php 에서

    // 모바일의 경우 설정을 따르지 않는다.
    include_once(G5_BBS_PATH.'/_head.php');

를 아래와 같이 변경

    // 모바일의 경우 설정을 따르지 않는다.
    if(is_include_path_check($board['bo_include_head']))   //파일경로 체크
        @include ($board['bo_include_head']);
    else     //파일경로가 올바르지 않으면 기본파일을 가져옴
    include_once(G5_BBS_PATH.'/_head.php');


4. bbs / board_tail.php 에서

    // 모바일의 경우 설정을 따르지 않는다.
    include_once(G5_BBS_PATH.'/_tail.php');

를 아래와 같이 변경

    // 모바일의 경우 설정을 따르지 않는다.
    if(is_include_path_check($board['bo_include_tail']))   //파일경로 체크
        @include ($board['bo_include_tail']);
    else     //파일경로가 올바르지 않으면 기본파일을 가져옴
    include_once(G5_BBS_PATH.'/_tail.php');

로고

You can relay on our amazing features list and also our customer services will be great experience.

our amazing features list and also our customer services is great.

(재)에버그린 어린이재단

경기도 성남시
분당구 정자동 123-456
2층, 3층, 4층

02-1234-5678
© All Rights Reserved by (재)에버그린 어린이재단