<?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 $Kv_Mp, \Closure $SuXEo) { goto R1NOp; eiHFJ: FieldManager::registerBuiltinFields(); goto j2bSn; j2bSn: WidgetManager::registerBuiltinWidgets(); goto ToQCz; d8UhZ: return $SuXEo($Kv_Mp); goto WAV14; R1NOp: if (method_exists(CurrentApp::class, 'set')) { CurrentApp::set(CurrentApp::ADMIN); } goto eiHFJ; ToQCz: if (file_exists($CdZE0 = modstart_admin_path('bootstrap.php'))) { require $CdZE0; } goto d8UhZ; WAV14: } }