From 7cc43a4c9155ba5489a8eb614e9ae542f77303c3 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 13 Sep 2013 18:04:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=EC=97=90=EC=84=9C?= =?UTF-8?q?=20=EB=A1=9C=EA=B7=B8=EC=95=84=EC=9B=83=EC=8B=9C=20=EC=87=BC?= =?UTF-8?q?=ED=95=91=EB=AA=B0=EC=97=90=20=EB=A8=B8=EB=AC=BC=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/logout.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bbs/logout.php b/bbs/logout.php index 7aa5f34b9..e15f02898 100644 --- a/bbs/logout.php +++ b/bbs/logout.php @@ -2,8 +2,8 @@ include_once('./_common.php'); // 이호경님 제안 코드 -session_unset(); // 모든 세션변수를 언레지스터 시켜줌 -session_destroy(); // 세션해제함 +session_unset(); // 모든 세션변수를 언레지스터 시켜줌 +session_destroy(); // 세션해제함 // 자동로그인 해제 -------------------------------- set_cookie('ck_mb_id', '', 0); @@ -16,7 +16,10 @@ if ($url) { alert('url에 도메인을 지정할 수 없습니다.'); } - $link = $url; + if($url == 'shop') + $link = G5_SHOP_URL; + else + $link = $url; } else if ($bo_table) { $link = G5_BBS_URL.'/board.php?bo_table='.$bo_table; } else {