Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Domain\Media;
|
||||
|
||||
use Imagick;
|
||||
use ImagickException;
|
||||
use ImagickPixel;
|
||||
|
||||
/**
|
||||
* ImageMagick-basierter Bildprozessor für optimale Bildqualität
|
||||
@@ -102,6 +102,7 @@ final readonly class ImagickImageProcessor implements ImageProcessorInterface
|
||||
private function generateVariantFilename(string $originalFilename, string $type, string $size, string $format): string
|
||||
{
|
||||
$pathInfo = pathinfo($originalFilename);
|
||||
|
||||
return $pathInfo['filename'] . "_{$type}_{$size}.{$format}";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user