모바일 _head.php 오류 확인부탁드립니다.

계정/bbs/m으로 접속했을때 나오는 오류입니다.

Parse error: syntax error, unexpected '[', expecting T_VARIABLE or '$' in /home/hosting_users/계정/www/bbs/m/_head.php on line 3


* _head.php 내용

<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once "{$['g4m_path']}/head.php";
?>


이렇게 되어있는데요.
저 오류문구가 "["와 "$"사이에? 아님 저 기호?를
어떻게 고쳐주라는건지 이해가 안됩니다.

어떻게해야 제대로 설치가 될수있을까요..
|

댓글 3개

"['g4m_path']/head.php";
알려주신걸로 입력했는데 또 오류가 뜨네요ㅠㅠㅠ

Warning: include_once(['g4m_path']/head.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/계정/www/bbs/m/_head.php on line 3

Warning: include_once() [function.include]: Failed opening '['g4m_path']/head.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/계정/www/bbs/m/_head.php on line 3

Fatal error: Call to undefined function g4m_latest() in /home/hosting_users/계정/www/bbs/m/index.php on line 12


이 오류들을 계속 반복하니까 더이상 어떻게해야될지 모르겠네요ㅠㅠㅠ
include_once "{$g4['g4m_path']}/head.php";

혹시 이거 아닌가요..?
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13년 전 조회 1,722
13년 전 조회 962
13년 전 조회 1,575
13년 전 조회 830
13년 전 조회 1,016
13년 전 조회 3,592
13년 전 조회 930
13년 전 조회 881
13년 전 조회 861
13년 전 조회 1,526
13년 전 조회 2,046
13년 전 조회 774
14년 전 조회 895
14년 전 조회 799
14년 전 조회 1,115
14년 전 조회 995
14년 전 조회 956
14년 전 조회 778
14년 전 조회 1,535
14년 전 조회 924
🐛 버그신고