<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Admin\Middleware; use Illuminate\Http\Request; use ModStart\App\Core\CurrentApp; use ModStart\Support\Manager\FieldManager; use ModStart\Support\Manager\WidgetManager; class BootstrapMiddleware { public function handle(Request $gSoa2, \Closure $dHcaF) { goto IqYYH; a6iIW: FieldManager::registerBuiltinFields(); goto FGIRb; eX978: return $dHcaF($gSoa2); goto WTK_2; FGIRb: WidgetManager::registerBuiltinWidgets(); goto SNLFe; SNLFe: if (file_exists($EFN9b = modstart_admin_path('bootstrap.php'))) { require $EFN9b; } goto eX978; IqYYH: if (method_exists(CurrentApp::class, 'set')) { CurrentApp::set(CurrentApp::ADMIN); } goto a6iIW; WTK_2: } }