플

모바일 _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 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
12-01-26 조회 1,811
12-01-26 조회 1,841
12-01-26 조회 1,080
12-01-26 조회 1,709
12-01-26 조회 950
12-01-26 조회 1,131
12-01-26 조회 3,723
12-01-26 조회 1,044
12-01-26 조회 992
12-01-26 조회 984
12-01-26 조회 1,644
12-01-26 조회 2,197
12-01-26 조회 889
12-01-26 조회 1,031
12-01-25 조회 910
12-01-25 조회 1,231
12-01-25 조회 1,107
12-01-25 조회 1,083
12-01-25 조회 907
12-01-25 조회 1,690