mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-14 15:37:53 +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 {
|
} else {
|
||||||
if (file_exists(storage_path('app/public/images/generated/'.$image_uuid.'.bmp'))) {
|
if (file_exists(storage_path('app/public/images/generated/'.$image_uuid.'.bmp'))) {
|
||||||
$image_path = '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'))) {
|
} elseif (file_exists(storage_path('app/public/images/generated/'.$image_uuid.'.png'))) {
|
||||||
$image_path = 'images/generated/'.$image_uuid.'.png';
|
$image_path = 'images/generated/'.$image_uuid.'.png';
|
||||||
$filename = basename($image_path);
|
|
||||||
} else {
|
} else {
|
||||||
$image_path = 'images/generated/'.$image_uuid.'.bmp';
|
$image_path = 'images/generated/'.$image_uuid.'.bmp';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue