<?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 $cSn43, \Closure $aPZzJ) { goto F4zXk; wmN1b: FieldManager::registerBuiltinFields(); goto wxAYf; KqAVI: return $aPZzJ($cSn43); goto F196J; x9Na7: if (file_exists($vaAeP = modstart_admin_path('bootstrap.php'))) { require $vaAeP; } goto KqAVI; wxAYf: WidgetManager::registerBuiltinWidgets(); goto x9Na7; F4zXk: if (method_exists(CurrentApp::class, 'set')) { CurrentApp::set(CurrentApp::ADMIN); } goto wmN1b; F196J: } }