From 420469ef753210ab153333ff3467ddc656fb0d39 Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 12 Feb 2018 21:36:58 +0900 Subject: [PATCH] =?UTF-8?q?resetSessionGeneralValues()=20=EB=A5=BC=20lib.p?= =?UTF-8?q?hp=EB=A1=9C=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twe/func.php | 12 ------------ twe/lib.php | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/twe/func.php b/twe/func.php index c05fd0f3..f7ebb362 100644 --- a/twe/func.php +++ b/twe/func.php @@ -139,18 +139,6 @@ function getGeneralName($forceExit=false) return $generalName; } -/** - * Session에 보관된 장수 정보를 제거함. - * _prefix_p_no, _prefix_p_name 두 값임 - */ -function resetSessionGeneralValues(){ - $idKey = getServPrefix().'p_no'; - $nameKey = getServPrefix().'p_name'; - - unset($_SESSION[$idKey]); - unset($_SESSION[$nameKey]); -} - function GetImageURL($imgsvr) { global $image, $image1; if($imgsvr == 0) { diff --git a/twe/lib.php b/twe/lib.php index 8e6a41d5..e51ab70c 100644 --- a/twe/lib.php +++ b/twe/lib.php @@ -105,6 +105,18 @@ echo $_SERVER['PHP_SELF'].'//'.preg_match("/install/i",$_SERVER['PHP_SELF']); exit; } +/** + * Session에 보관된 장수 정보를 제거함. + * _prefix_p_no, _prefix_p_name 두 값임 + */ +function resetSessionGeneralValues(){ + $idKey = getServPrefix().'p_no'; + $nameKey = getServPrefix().'p_name'; + + unset($_SESSION[$idKey]); + unset($_SESSION[$nameKey]); +} + // MySQL 데이타 베이스에 접근 function dbconn($table = "") { //TODO:dbconn 사용하는 모든 녀석들을 없애야한다.