character set 지정하기
common.php: 217 부터
if (!$g4_path || preg_match("/:\/\//", $g4_path))
die("<meta http-equiv='content-type' content='text/html; charset=$g4[charset]'><script type='text/javascript'> alert('잘못된 방법으로 변수가 정의되었습니다.'); </script>");
======> $g4[charset]는 config.php 안에서 값을 지정, 위에 die() 부분은 수정이 필요하구요.
//if (!$g4_path) $g4_path = ".";
$g4['path'] = $g4_path;
// 경로의 오류를 없애기 위해 $g4_path 변수는 해제
unset($g4_path);
include_once("$g4[path]/lib/constant.php"); // 상수 정의
include_once("$g4[path]/config.php"); // 설정 파일
common.php 파일 맨 끝에
header('Content-Type: text/html; charset='.$g4['charset']);
추가
if (!$g4_path || preg_match("/:\/\//", $g4_path))
die("<meta http-equiv='content-type' content='text/html; charset=$g4[charset]'><script type='text/javascript'> alert('잘못된 방법으로 변수가 정의되었습니다.'); </script>");
======> $g4[charset]는 config.php 안에서 값을 지정, 위에 die() 부분은 수정이 필요하구요.
//if (!$g4_path) $g4_path = ".";
$g4['path'] = $g4_path;
// 경로의 오류를 없애기 위해 $g4_path 변수는 해제
unset($g4_path);
include_once("$g4[path]/lib/constant.php"); // 상수 정의
include_once("$g4[path]/config.php"); // 설정 파일
common.php 파일 맨 끝에
header('Content-Type: text/html; charset='.$g4['charset']);
추가
댓글 2개
13년 전
감사합니다
13년 전
감사합니다.
게시판 목록
그누4 팁자료실
그누보드4와 관련된 팁을 여러분들과 함께 공유하세요.
나누면 즐거움이 커집니다.
나누면 즐거움이 커집니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 3189 |
|
12년 전 | 6699 | |
| 3188 | 12년 전 | 4369 | ||
| 3187 | 12년 전 | 5645 | ||
| 3186 | 12년 전 | 5234 | ||
| 3185 | 12년 전 | 4849 | ||
| 3184 | 12년 전 | 4812 | ||
| 3183 | 12년 전 | 3867 | ||
| 3182 | 12년 전 | 6997 | ||
| 3181 |
skpal
|
12년 전 | 6374 | |
| 3180 | 12년 전 | 5741 | ||
| 3179 | 12년 전 | 5184 | ||
| 3178 | 12년 전 | 4029 | ||
| 3177 |
soul5932
|
12년 전 | 6475 | |
| 3176 |
다케미카코
|
12년 전 | 3736 | |
| 3175 |
soul5932
|
12년 전 | 12915 | |
| 3174 | 12년 전 | 11141 | ||
| 3173 | 12년 전 | 5300 | ||
| 3172 | 12년 전 | 6047 | ||
| 3171 | 12년 전 | 5501 | ||
| 3170 | 12년 전 | 5483 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기