將彈窗手機和郵箱的驗證碼不能為空註釋!!
2、總項目下register.php
找到 手機和郵箱的驗證碼檢查 註釋 ! 下面是註釋代碼
郵箱:
/*if(empty($email_code))
{
show_message($_LANG['msg_email_code_blank'], $_LANG['sign_up'], 'register.php', 'error');
}
else if($session_email != $email)
{
show_message($_LANG['email_changed'], $_LANG['sign_up'], 'register.php', 'error');
}
else if($email_code != $record['record_code'])
{
show_message($_LANG['invalid_email_code'], $_LANG['sign_up'], 'register.php', 'error');
}*/
手機:
/*if(empty($mobile_code))
{
show_message($_LANG['msg_mobile_phone_blank'], $_LANG['sign_up'], 'register.php', 'error');
}
// 檢查發送短信驗證碼的手機號碼和提交的手機號碼是否匹配
else if($session_mobile_phone != $mobile_phone)
{
show_message($_LANG['mobile_phone_changed'], $_LANG['sign_up'], 'register.php', 'error');
}
// 檢查驗證碼是否正確
else if($record['record_code'] != $mobile_code)
{
show_message($_LANG['invalid_mobile_phone_code'], $_LANG['sign_up'], 'register.php', 'error');
}
// 檢查過期時間
else if($record['expired_time'] < time())
{
show_message($_LANG['invalid_mobile_phone_code'], $_LANG['sign_up'], 'register.php', 'error');
}*/