forked from ZwiiCMS-Team/ZwiiCMS
bug constructeur de css
This commit is contained in:
parent
34454b7238
commit
a26f07de0c
@ -2305,7 +2305,7 @@ class core extends common {
|
||||
file_exists(self::DATA_DIR . 'fonts/' . $fontName) ) {
|
||||
// La police locale est-elle invoquée ?
|
||||
$d = array_search($fontId, $cdnFonts);
|
||||
if ( $d !== NULL ) {
|
||||
if ( $d !== false ) {
|
||||
// Chargement de la police demandée dans le thème
|
||||
$formatFont = explode('.', self::DATA_DIR . 'fonts/' . $fontName);
|
||||
$css .= '@font-face {font-family:"' . self::$fonts[$fontId] . '";';
|
||||
@ -2533,7 +2533,7 @@ class core extends common {
|
||||
file_exists(self::DATA_DIR . 'fonts/' . $fontName) ) {
|
||||
// La police locale est-elle invoquée ?
|
||||
$d = array_search($fontId, $cdnFonts);
|
||||
if ( $d !== NULL ) {
|
||||
if ( $d !== false ) {
|
||||
// Chargement de la police demandée dans le thème
|
||||
$formatFont = explode('.', self::DATA_DIR . 'fonts/' . $fontName);
|
||||
$css .= '@font-face {font-family:"' . self::$fonts[$fontId] . '";';
|
||||
|
Loading…
Reference in New Issue
Block a user