드러와~ 드러와~ 2탄

· 6년 전 · 3076

$is_guest 보다 더 간단한 방법

$is_member 앞에 !(느낌표) 하나만 딱! 끝!

 

/bbs/register.php

[code]

<?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');
?>

[/code]

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

그누보드5 팁자료실

+
제목 글쓴이 날짜 조회
6년 전 조회 6,702
6년 전 조회 3,329
6년 전 조회 4,954
6년 전 조회 5,317
6년 전 조회 5,326
6년 전 조회 4,266
6년 전 조회 3,632
6년 전 조회 4,448
6년 전 조회 1.7만
6년 전 조회 4,027
6년 전 조회 5,362
6년 전 조회 5,372
6년 전 조회 6,402
6년 전 조회 4,223
6년 전 조회 3,077
6년 전 조회 3,721
6년 전 조회 3,655
6년 전 조회 9,135
6년 전 조회 3,933
6년 전 조회 3,739
6년 전 조회 3,594
6년 전 조회 4,032
6년 전 조회 6,749
6년 전 조회 5,862
6년 전 조회 5,415
6년 전 조회 7,617
6년 전 조회 4,293
6년 전 조회 4,579
6년 전 조회 3,444
6년 전 조회 5,563