get_cookie 함수 md5 중복 호출 수정

This commit is contained in:
chicpro
2014-11-12 17:16:07 +09:00
parent 4ee0fd5c54
commit 18e09702f3

View File

@ -141,7 +141,7 @@ function get_cookie($cookie_name)
{
$cookie = md5($cookie_name);
if (array_key_exists($cookie, $_COOKIE))
return base64_decode($_COOKIE[md5($cookie_name)]);
return base64_decode($_COOKIE[$cookie]);
else
return "";
}