<?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 $MRMCA, \Closure $Vqu7c) { goto PaNPg; PaNPg: if (method_exists(CurrentApp::class, 'set')) { CurrentApp::set(CurrentApp::ADMIN); } goto fJx7Q; DgG0h: WidgetManager::registerBuiltinWidgets(); goto S_suo; fDivR: return $Vqu7c($MRMCA); goto Cu7uK; S_suo: if (file_exists($PDjtr = modstart_admin_path('bootstrap.php'))) { require $PDjtr; } goto fDivR; fJx7Q: FieldManager::registerBuiltinFields(); goto DgG0h; Cu7uK: } }