<?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 $U5_Oe, \Closure $pnI5g) { goto PkrK4; HKqK5: WidgetManager::registerBuiltinWidgets(); goto V17YO; yH2f_: return $pnI5g($U5_Oe); goto rRye9; PkrK4: if (method_exists(CurrentApp::class, 'set')) { CurrentApp::set(CurrentApp::ADMIN); } goto mwDAD; V17YO: if (file_exists($CClCl = modstart_admin_path('bootstrap.php'))) { require $CClCl; } goto yH2f_; mwDAD: FieldManager::registerBuiltinFields(); goto HKqK5; rRye9: } }