Browse Source

import de fontes DIR_DATA !!!!

12_dev
Fred Tempez 5 months ago
parent
commit
c52c6f4438
  1. 2
      core/include/update.inc.php

2
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',

Loading…
Cancel
Save