File "FilePreviewHandler.php"
Full Path: /home/fundopuh/trader.fxex.org/vendor/livewire/livewire/src/Controllers/FilePreviewHandler.php
File size: 457 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Livewire\Controllers;
use Livewire\FileUploadConfiguration;
class FilePreviewHandler
{
use CanPretendToBeAFile;
public function handle($filename)
{
abort_unless(request()->hasValidSignature(), 401);
return $this->pretendResponseIsFile(
FileUploadConfiguration::storage()->path(FileUploadConfiguration::path($filename)),
FileUploadConfiguration::mimeType($filename)
);
}
}