forked from ZwiiCMS-Team/ZwiiCampus
fonte installée ou importée
This commit is contained in:
parent
f2793d613d
commit
b3924c73b4
@ -741,7 +741,8 @@ class theme extends common
|
|||||||
[
|
[
|
||||||
'name' => $fontName,
|
'name' => $fontName,
|
||||||
'font-family' => $fontFamilyName,
|
'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),
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user