Sometimes guessExtension doesnt return bin for pkt's

This commit is contained in:
Deon George 2022-11-15 22:13:31 +11:00
parent 4e66990826
commit 216bd1a2cd

View File

@ -28,6 +28,7 @@ class File extends FileBase implements \Iterator
$this->z->open($this->getRealPath());
break;
case NULL:
case 'bin':
if ($this->getExtension() == 'pkt' || ($path instanceof UploadedFile && $path->getClientOriginalExtension() == 'pkt')) {
$this->canHandle = TRUE;