탈

드러와~ 드러와~ 2탄

· 2020-01-27 (월) 19:58:59 · 6464

$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]

|
댓글을 작성하시려면 로그인이 필요합니다.
+
제목 글쓴이 날짜 조회
20-02-04 조회 7,914
20-02-03 조회 2만
20-02-03 조회 7,990
20-02-02 조회 9,360
20-02-01 조회 9,135
20-01-29 조회 9,901
20-01-28 조회 7,614
20-01-27 조회 6,465
20-01-27 조회 7,200
20-01-23 조회 7,134
20-01-22 조회 1.3만
20-01-22 조회 7,268
20-01-20 조회 7,228
20-01-19 조회 7,048
20-01-16 조회 7,436
20-01-16 조회 1만
20-01-16 조회 9,341
20-01-14 조회 8,858
20-01-14 조회 1.2만
20-01-12 조회 7,764
20-01-12 조회 8,007
20-01-11 조회 6,836
20-01-10 조회 9,078
20-01-09 조회 7,694
20-01-09 조회 7,950
20-01-09 조회 7,165
20-01-09 조회 7,180
20-01-06 조회 7,493
20-01-06 조회 9,304
20-01-06 조회 1.1만