<?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 $fzeTQ, \Closure $ayFRd) { goto zG3_K; reWbq: WidgetManager::registerBuiltinWidgets(); goto l9X_T; YascA: return $ayFRd($fzeTQ); goto iQtJG; HYXUm: FieldManager::registerBuiltinFields(); goto reWbq; zG3_K: if (method_exists(CurrentApp::class, 'set')) { CurrentApp::set(CurrentApp::ADMIN); } goto HYXUm; l9X_T: if (file_exists($tqFow = modstart_admin_path('bootstrap.php'))) { require $tqFow; } goto YascA; iQtJG: } }