From c52c6f4438a76be9f25e55ad7de81e2e7f8a7837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Thu, 31 Mar 2022 15:07:16 +0200 Subject: [PATCH] import de fontes DIR_DATA !!!! --- core/include/update.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 61740e49..ea8ad2a6 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -940,7 +940,7 @@ if ($this->getData(['core', 'dataVersion']) < 11400) { if (is_array($files)) { $this->deleteData(['fonts', 'files']); foreach ($files as $fontId => $fontName) { - if (file_exists(self::DIR_DATA . 'fonts' . $fontName)) { + if (file_exists(self::DATA_DIR . 'fonts' . $fontName)) { $this->setData(['fonts', 'files', $fontId, [ 'name' => ucfirst($fontId), 'font-family'=> $fontId . ', sans-serif',