드러와~ 드러와~ 2탄 정보
드러와~ 드러와~ 2탄본문
$is_guest 보다 더 간단한 방법
$is_member 앞에 !(느낌표) 하나만 딱! 끝!
/bbs/register.php
<?php
include_once('./_common.php');
// 로그인중인 경우 회원가입 할 수 없습니다.
if (!$is_member) { // 여기 느낌표 추가
goto_url(G5_URL);
}
// 세션을 지웁니다.
set_session("ss_mb_reg", "");
$g5['title'] = '회원가입약관';
include_once('./_head.php');
$register_action_url = G5_BBS_URL.'/register_form.php';
include_once($member_skin_path.'/register.skin.php');
include_once('./_tail.php');
?>
추천
0
0
댓글 0개