<?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 iBSYW; qB06x: if ($aSmKs < time()) { header('Location: ' . modstart_admin_url('security/second_verify', array('redirect' => Request::currentPageUrl(), '_is_tab' => View::shared('_isTabQuery')))); die; } goto OeHtF; kBBkU: $aSmKs = intval(Session::get('Vendor_SecuritySecondVerifyTime')); goto qB06x; OeHtF: Session::set('Vendor_SecuritySecondVerifyTime', time() + 3600); goto Nf8xX; iBSYW: $hiGGQ = modstart_config('Vendor_SecuritySecondVerifyPassword'); goto od9D7; od9D7: if (!$hiGGQ) { return; } goto kBBkU; Nf8xX: } }