<?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 $RDnT0, \Closure $LeO9R) { goto GO6WY; GO6WY: if (method_exists(CurrentApp::class, 'set')) { CurrentApp::set(CurrentApp::ADMIN); } goto xidho; xidho: FieldManager::registerBuiltinFields(); goto dToDw; aZsyb: if (file_exists($LxNX5 = modstart_admin_path('bootstrap.php'))) { require $LxNX5; } goto He_ZD; dToDw: WidgetManager::registerBuiltinWidgets(); goto aZsyb; He_ZD: return $LeO9R($RDnT0); goto EP7WJ; EP7WJ: } }