mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
fix: remove unused local variable
This commit is contained in:
parent
b4dea89fad
commit
302730c81e
1 changed files with 0 additions and 2 deletions
|
|
@ -75,10 +75,8 @@ Route::get('/display', function (Request $request) {
|
|||
} else {
|
||||
if (file_exists(storage_path('app/public/images/generated/'.$image_uuid.'.bmp'))) {
|
||||
$image_path = 'images/generated/'.$image_uuid.'.bmp';
|
||||
$filename = basename($image_path);
|
||||
} elseif (file_exists(storage_path('app/public/images/generated/'.$image_uuid.'.png'))) {
|
||||
$image_path = 'images/generated/'.$image_uuid.'.png';
|
||||
$filename = basename($image_path);
|
||||
} else {
|
||||
$image_path = 'images/generated/'.$image_uuid.'.bmp';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue