get_cookie 함수 md5 중복 호출 수정
This commit is contained in:
@ -141,7 +141,7 @@ function get_cookie($cookie_name)
|
|||||||
{
|
{
|
||||||
$cookie = md5($cookie_name);
|
$cookie = md5($cookie_name);
|
||||||
if (array_key_exists($cookie, $_COOKIE))
|
if (array_key_exists($cookie, $_COOKIE))
|
||||||
return base64_decode($_COOKIE[md5($cookie_name)]);
|
return base64_decode($_COOKIE[$cookie]);
|
||||||
else
|
else
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user