성인인증 체크 코드 추가

This commit is contained in:
chicpro committed 2013-02-27 11:50:32 +09:00
1 parent af14b0454d
commit 5915813aa9
3 files changed
+19 -4

No files matched your search

+5
View File
@@ -134,6 +134,11 @@ if( $cert_enc_use == "Y" )
$md5_cert_no = md5($cert_no);
$hash_data = md5($phone_no.$user_name.$md5_cert_no);
set_session('ss_kcpcert_hash', $hash_data);
// 성인인증결과
$adult_day = date("Ymd", strtotime("-19 years", G4_SERVER_TIME));
if((int)$birth_day <= (int)$adult_day)
set_session('ss_adult_check', 'Y');
}
else if( $res_cd != "0000" )
{