<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Member\Util; use Module\Vendor\Provider\Captcha\CaptchaProvider; use Module\Vendor\Provider\Captcha\DefaultCaptchaProvider; class SecurityUtil { public static function registerCaptchaProvider() { goto MJQcI; wAgCe: $tDnAb = CaptchaProvider::get($zO6V5); goto Mwq3B; XoaCm: if (empty($zO6V5)) { return null; } goto wAgCe; Mwq3B: if ($tDnAb && $tDnAb instanceof DefaultCaptchaProvider) { return null; } goto cVs8M; cVs8M: $tDnAb->setParam('onValidate', 'window.__memberCheckCaptcha'); goto F6lc9; F6lc9: return $tDnAb; goto EcMr8; MJQcI: $zO6V5 = modstart_config('Member_RegisterCaptchaProvider', null); goto XoaCm; EcMr8: } public static function loginCaptchaProvider() { goto shwzO; shwzO: $zO6V5 = modstart_config('loginCaptchaProvider', null); goto CmUqX; H0yRO: return $tDnAb; goto qR5BC; vdBRQ: if ($tDnAb && $tDnAb instanceof DefaultCaptchaProvider) { return null; } goto H0yRO; CmUqX: if (empty($zO6V5)) { return null; } goto DroOB; DroOB: $tDnAb = CaptchaProvider::get($zO6V5); goto vdBRQ; qR5BC: } }