forked from ZwiiCMS-Team/ZwiiCMS
fonte installée ou importée
This commit is contained in:
parent
92c7384816
commit
9fac118004
@ -740,7 +740,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