@php $options = [ 'http' => [ 'timeout' => 3, // 3 seconds ], 'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ], ]; $context = stream_context_create($options); @endphp
@if(!empty($pin->Manufacturer)) @if(@file_get_contents("https://s3.us-central-1.wasabisys.com/partswarehouse/Manufacturer-horizontal/Desktop/".$pin->Manufacturer.".png",0, $context, 0, 1)) @php $is_manufacturer_horizontal=1; @endphp ... @endif @if(@file_get_contents("https://s3.us-central-1.wasabisys.com/partswarehouse/Manufacturer-horizontal/".$pin->Manufacturer.".png",0, $context, 0, 1)) @php $is_manufacturer_horizontal_mobile=1; @endphp ... @endif @endif