diff --git a/core/core.php b/core/core.php index ed4a98dc..09ae33ee 100644 --- a/core/core.php +++ b/core/core.php @@ -45,7 +45,7 @@ class common { // Numéro de version const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; - const ZWII_VERSION = '11.5.02'; + const ZWII_VERSION = '11.5.03'; const ZWII_UPDATE_CHANNEL = "v11"; public static $actions = []; diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index f19278ac..708947d2 100644 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -1199,7 +1199,7 @@ class theme extends common { ) { //Pré chargement à revoir //$fileContent .= ''; - $fileContent = ''; + $fileContent .= ''; // Pré connect pour api.google $gf = strpos($fontValue['resource'], 'fonts.googleapis.com') === false ? $gf || false : $gf || true; } @@ -1216,7 +1216,6 @@ class theme extends common { * Fontes installées localement */ $fileContentCss = ''; - $fileContent = ''; //if ( is_array($this->getData(['fonts', 'files'])) && // !empty($this->getData(['fonts', 'files'])) ) { foreach ($this->getData(['fonts', 'files']) as $fontId => $fontValue) {