diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 61834658..f1cd7182 100644 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -740,7 +740,8 @@ class theme extends common [ 'name' => $fontName, 'font-family' => $fontFamilyName, - 'resource' => self::DATA_DIR . 'font/' . basename($resource) + // Stocke l'URL our lien vers la fonte dans data + 'resource' => $type === 'imported' ? $resource : self::DATA_DIR . 'font/' . basename($resource), ] ]);