@php use Illuminate\Support\Facades\Schema; $cdnPoolServers = $cdn_pool_servers ?? collect(); $cdnPoolEnabled = (bool) old('cdn_pool_enabled', $general_setting->cdn_pool_enabled ?? false); $errorThreshold = (int) old( 'cdn_pool_error_threshold', $general_setting->cdn_pool_error_threshold ?? config('cdn_pool.error_threshold', 2) ); $poolTableReady = Schema::hasTable('cdn_pool_servers'); $serverRows = $cdnPoolServers->isNotEmpty() ? $cdnPoolServers : collect([null]); $embedded = (bool) ($embedded ?? false); @endphp
@push('js_section') @endpush