테스트 사이트 - 개발 중인 베타 버전입니다

Array로 본 그누보드 변수 : $g4

각각에 대한 설명은 너무 길어서 따로 설명드리지 않겠습니다.
배열의 내용을 보면 대충 짐작은 하실 수 있으실 듯 해서요...
여기서 코멘트로 각각의 내용에 대한 설명을 나누는 것도 방법이겠네요...

$g4 Array
(
[path]
[root]
[bbs]
[bbs_path]
[bbs_img]
[bbs_img_path]
[admin]
[admin_path]
[editor]
[editor_path]
[server_time]
[time_ymd]
[time_his]
[time_ymdhis]
[table_prefix]
[write_prefix]
[auth_table]
[config_table]
[group_table]
[group_member_table]
[board_table]
[board_file_table]
[board_new_table]
[login_table]
[mail_table]
[member_table]
[memo_table]
[poll_table]
[poll_etc_table]
[point_table]
[popular_table]
[scrap_table]
[visit_table]
[visit_sum_table]
[cookie_domain]
[link_count]
[charset]
[phpmyadmin_dir]
[url]
[title]
)

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 3개

[path]는 _common.php에서 $g4_path --> common.php에서
$g4[path] = $g4_path;
// 경로의 오류를 없애기 위해 $g4_path 변수는 해제
unset($g4_path);

나머지는 주로 config.php에 있군요 (config.php는 common.php에서 include)
unset 이라는거... 이해를 못 했었는데 common.php 보고 나서 알게되었습니다. ^^;
아하~ 덕분에 이해 감사용 ^^

게시판 목록

그누4 사전

프로그램 소스코드에는 알쏭달쏭한 변수들이 많이 있지만 어디에서 사용하는것인지 모를때가 있습니다.
바로 이럴때 여러 회원님들이 쉽게 풀이해서 올려주신 내용을 참고하는곳이랍니다.
글쓰기
🐛 버그신고