기타 그누보드5 기본 소스를 수정하는 것들
페이지 정보
본문
ㅁ common.php
- 466행 쯤, 테마를 쿠키 세팅할수 있도록 코드 삽입
if(!defined('G5_IS_ADMIN') && trim(get_cookie('theme')))
$config['cf_theme'] = trim(get_cookie('theme'));
ㅁ config.php
- 51행 쯤, 기본 캡차 변경
define('G5_CAPTCHA_DIR', 'recaptcha');
ㅁ tail.sub.php
- 27행 쯤, 관리자페이지에서도 tail.sub.extend 가 먹도록 적용 코드 삽입
<?php @include_once(G5_PLUGIN_PATH."/tail.sub.extend.php"); ?>
ㅁ bbs/login_check.php
- 3행 쯤, 보안서버 체크 스크립트 삽입
@include_once(G5_PLUGIN_PATH.'/boanserver/gnuboard5/check.php');
ㅁ bbs/register_form.php
- 5행 쯤, 보안서버 체크 스크립트 삽입
@include_once(G5_PLUGIN_PATH.'/boanserver/gnuboard5/check.php');
ㅁ bbs/register_form_update.php
- 6행 쯤, 보안서버 체크 스크립트 삽입
@include_once(G5_PLUGIN_PATH.'/boanserver/gnuboard5/check.php');
ㅁ bbs/list.php
- 155행 쯤, 정렬필드추가
$sst = preg_match("/^(wr_subject|wr_datetime|wr_hit|wr_good|wr_nogood|wr_1|wr_2|wr_3|wr_4|wr_5|wr_6|wr_7|wr_8|wr_9)$/i", $sst) ? $sst : "";
== 아래는 좀 더 생각해 봐야 할 것 같은 것들..
ㅁ bbs/list.php
- 168행 , 인덱스 강제로 태우기 위해 쿼리문 변경
$sql = " select * from {$write_table} where wr_id in ( select wr_id from {$write_table} where wr_is_comment = 0 ) ";
- 466행 쯤, 테마를 쿠키 세팅할수 있도록 코드 삽입
if(!defined('G5_IS_ADMIN') && trim(get_cookie('theme')))
$config['cf_theme'] = trim(get_cookie('theme'));
ㅁ config.php
- 51행 쯤, 기본 캡차 변경
define('G5_CAPTCHA_DIR', 'recaptcha');
ㅁ tail.sub.php
- 27행 쯤, 관리자페이지에서도 tail.sub.extend 가 먹도록 적용 코드 삽입
<?php @include_once(G5_PLUGIN_PATH."/tail.sub.extend.php"); ?>
ㅁ bbs/login_check.php
- 3행 쯤, 보안서버 체크 스크립트 삽입
@include_once(G5_PLUGIN_PATH.'/boanserver/gnuboard5/check.php');
ㅁ bbs/register_form.php
- 5행 쯤, 보안서버 체크 스크립트 삽입
@include_once(G5_PLUGIN_PATH.'/boanserver/gnuboard5/check.php');
ㅁ bbs/register_form_update.php
- 6행 쯤, 보안서버 체크 스크립트 삽입
@include_once(G5_PLUGIN_PATH.'/boanserver/gnuboard5/check.php');
ㅁ bbs/list.php
- 155행 쯤, 정렬필드추가
$sst = preg_match("/^(wr_subject|wr_datetime|wr_hit|wr_good|wr_nogood|wr_1|wr_2|wr_3|wr_4|wr_5|wr_6|wr_7|wr_8|wr_9)$/i", $sst) ? $sst : "";
== 아래는 좀 더 생각해 봐야 할 것 같은 것들..
ㅁ bbs/list.php
- 168행 , 인덱스 강제로 태우기 위해 쿼리문 변경
$sql = " select * from {$write_table} where wr_id in ( select wr_id from {$write_table} where wr_is_comment = 0 ) ";
추천0
댓글목록
등록된 댓글이 없습니다.