Skip to content

Commit

Permalink
add mimetype application/xlsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aneksa committed Nov 8, 2023
1 parent b3a0b75 commit 7a6a271
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/Base64.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ public static function base64ToFile($string)
case 'image/gif':
$fileExt = '.gif';
break;
case 'application/xlsx':
$fileExt = '.xlsx';
break;
default:
$fileExt = '';
}
Expand Down

0 comments on commit 7a6a271

Please sign in to comment.