<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Traits; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\View; use ModStart\Core\Input\Request; trait SecurityTrait { private function checkSecuritySecondVerify() { goto lwO1U; vWacZ: if (!$evk19) { return; } goto J8Hgu; J8Hgu: $l71uq = intval(Session::get('Vendor_SecuritySecondVerifyTime')); goto fdX33; v_ReS: Session::set('Vendor_SecuritySecondVerifyTime', time() + 3600); goto LnRqF; fdX33: if ($l71uq < time()) { header('Location: ' . modstart_admin_url('security/second_verify', array('redirect' => Request::currentPageUrl(), '_is_tab' => View::shared('_isTabQuery')))); die; } goto v_ReS; lwO1U: $evk19 = modstart_config('Vendor_SecuritySecondVerifyPassword'); goto vWacZ; LnRqF: } }