dssad
All checks were successful
Deploy / deploy (push) Successful in 1m43s

This commit is contained in:
2026-07-27 01:41:52 +02:00
parent 708830fe0a
commit 08fffd24b6

View File

@@ -1,9 +1,9 @@
<?php
declare(strict_types=1);
use App\Avatar;
use App\Avatar\Lorelei;
$seed = Avatar::normalizeSeed((string)($_GET['seed'] ?? 'papa-kind-treff'));
$seed = Lorelei::normalizeSeed((string)($_GET['seed'] ?? 'papa-kind-treff'));
$cacheDir = dirname(__DIR__, 3) . '/assets/avatars/dicebear-cache';
if (!is_dir($cacheDir)) {
@@ -31,7 +31,7 @@ if ($svg === false) {
}
if (!is_string($svg) || $svg === '') {
$svg = Avatar::fallbackSvg($seed, 'Avatar');
$svg = Lorelei::fallbackSvg($seed, 'Avatar');
}
header('Content-Type: image/svg+xml; charset=utf-8');