forked from ZwiiCMS-Team/ZwiiCMS
Bugs d'installation avec les BDD au singulier WIP
This commit is contained in:
parent
d364b11012
commit
63d02f358c
@ -79,7 +79,7 @@ A l'occasion de l'installation d'une verion majeure, il est recommandé de réal
|
|||||||
[R] content Dossier des contenus de page
|
[R] content Dossier des contenus de page
|
||||||
[F] accueil.html Exemple contenu de la page d'accueil
|
[F] accueil.html Exemple contenu de la page d'accueil
|
||||||
[R] fonts Dossier contenant les fontes installées
|
[R] fonts Dossier contenant les fontes installées
|
||||||
[F] fonts.html Fichier contenant les appels des fontes à charger sur cdnFonts
|
[F] font.html Fichier contenant les appels des fontes à charger sur cdnFonts
|
||||||
[F] fonts.css Fichier contenant la feuille de style liée aux polices de caractères locales
|
[F] fonts.css Fichier contenant la feuille de style liée aux polices de caractères locales
|
||||||
[F] fontes.woff Fichiers locaux des fontes (woff, etc..)
|
[F] fontes.woff Fichiers locaux des fontes (woff, etc..)
|
||||||
[R] modules Personnalisation des modules ou données propres
|
[R] modules Personnalisation des modules ou données propres
|
||||||
|
@ -1100,8 +1100,8 @@ class layout extends common
|
|||||||
public function showFonts()
|
public function showFonts()
|
||||||
{
|
{
|
||||||
// Import des fontes liées au thème
|
// Import des fontes liées au thème
|
||||||
if (file_exists(self::DATA_DIR . 'fonts/fonts.html')) {
|
if (file_exists(self::DATA_DIR . 'fonts/font.html')) {
|
||||||
include_once(self::DATA_DIR . 'fonts/fonts.html');
|
include_once(self::DATA_DIR . 'fonts/font.html');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ class core extends common
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Chargement des polices en ligne dans un fichier fonts.html inclus dans main.php
|
* Chargement des polices en ligne dans un fichier font.html inclus dans main.php
|
||||||
*/
|
*/
|
||||||
$fontFile = '';
|
$fontFile = '';
|
||||||
$gf = false;
|
$gf = false;
|
||||||
@ -142,7 +142,7 @@ class core extends common
|
|||||||
if (!is_dir(self::DATA_DIR . 'font')) {
|
if (!is_dir(self::DATA_DIR . 'font')) {
|
||||||
mkdir(self::DATA_DIR . 'font');
|
mkdir(self::DATA_DIR . 'font');
|
||||||
}
|
}
|
||||||
file_put_contents(self::DATA_DIR . 'fonts/fonts.html', $fontFile);
|
file_put_contents(self::DATA_DIR . 'fonts/font.html', $fontFile);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fontes installées localement
|
* Fontes installées localement
|
||||||
@ -322,7 +322,7 @@ class core extends common
|
|||||||
if (!is_dir(self::DATA_DIR . 'font')) {
|
if (!is_dir(self::DATA_DIR . 'font')) {
|
||||||
mkdir(self::DATA_DIR . 'font');
|
mkdir(self::DATA_DIR . 'font');
|
||||||
}
|
}
|
||||||
file_put_contents(self::DATA_DIR . 'fonts/fonts.html', $fontFile);
|
file_put_contents(self::DATA_DIR . 'fonts/font.html', $fontFile);
|
||||||
|
|
||||||
// Enregistre la personnalisation
|
// Enregistre la personnalisation
|
||||||
file_put_contents(self::DATA_DIR . 'theme.css', $css);
|
file_put_contents(self::DATA_DIR . 'theme.css', $css);
|
||||||
@ -369,7 +369,7 @@ class core extends common
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Chargement des polices en ligne dans un fichier fonts.html inclus dans main.php
|
* Chargement des polices en ligne dans un fichier font.html inclus dans main.php
|
||||||
*/
|
*/
|
||||||
$fontFile = '';
|
$fontFile = '';
|
||||||
foreach ($fonts as $fontId) {
|
foreach ($fonts as $fontId) {
|
||||||
@ -380,7 +380,7 @@ class core extends common
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Enregistre la personnalisation
|
// Enregistre la personnalisation
|
||||||
file_put_contents(self::DATA_DIR . 'fonts/fonts.html', $fontFile);
|
file_put_contents(self::DATA_DIR . 'fonts/font.html', $fontFile);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fontes installées localement
|
* Fontes installées localement
|
||||||
|
@ -601,12 +601,14 @@ class common
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Créer la base de données des langues
|
// Créer la base de données des langues
|
||||||
|
/*
|
||||||
if ($module === 'language') {
|
if ($module === 'language') {
|
||||||
copy('core/module/install/ressource/i18n/language.json', self::DATA_DIR . 'language.json');
|
copy('core/module/install/ressource/i18n/language.json', self::DATA_DIR . 'language.json');
|
||||||
$this->copyDir('core/module/install/ressource/i18n', self::I18N_DIR);
|
$this->copyDir('core/module/install/ressource/i18n', self::I18N_DIR);
|
||||||
unlink(self::I18N_DIR . 'language.json');
|
unlink(self::I18N_DIR . 'language.json');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Tableau avec les données vierges
|
// Tableau avec les données vierges
|
||||||
require_once('core/module/install/ressource/defaultdata.php');
|
require_once('core/module/install/ressource/defaultdata.php');
|
||||||
|
@ -954,7 +954,8 @@ if ($this->getData(['core', 'dataVersion']) < 12301) {
|
|||||||
if ($this->getData(['core', 'dataVersion']) < 12400) {
|
if ($this->getData(['core', 'dataVersion']) < 12400) {
|
||||||
|
|
||||||
// Nettoyage du dossier de langue d'installation'
|
// Nettoyage du dossier de langue d'installation'
|
||||||
unlink('core/vendor/tinymce/langs/langs.zip');
|
if (file_exists('core/vendor/tinymce/langs/langs.zip'))
|
||||||
|
unlink('core/vendor/tinymce/langs/langs.zip');
|
||||||
if (file_exists('core/module/install/ressource/i18n/de.json'))
|
if (file_exists('core/module/install/ressource/i18n/de.json'))
|
||||||
unlink('core/module/install/ressource/i18n/de.json');
|
unlink('core/module/install/ressource/i18n/de.json');
|
||||||
if (file_exists('core/module/install/ressource/i18n/it.json'))
|
if (file_exists('core/module/install/ressource/i18n/it.json'))
|
||||||
|
@ -90,12 +90,12 @@ class init extends common
|
|||||||
],
|
],
|
||||||
'droid-sans-2' => [
|
'droid-sans-2' => [
|
||||||
'name' => 'Droid Sans',
|
'name' => 'Droid Sans',
|
||||||
'font-family' => '\'Droid Sans\', sans-serif',
|
'font-family' => '\'Droid Sans\', sans-serif',
|
||||||
'resource' => 'https://fonts.cdnfonts.com/css/droid-sans-2'
|
'resource' => 'https://fonts.cdnfonts.com/css/droid-sans-2'
|
||||||
],
|
],
|
||||||
'droid-serif-2' => [
|
'droid-serif-2' => [
|
||||||
'name' => 'Droid Serif',
|
'name' => 'Droid Serif',
|
||||||
'font-family' => '\'Droid Serif\', serif',
|
'font-family' => '\'Droid Serif\', serif',
|
||||||
'resource' => 'https://fonts.cdnfonts.com/css/droid-serif-2'
|
'resource' => 'https://fonts.cdnfonts.com/css/droid-serif-2'
|
||||||
],
|
],
|
||||||
'indie-flower' => [
|
'indie-flower' => [
|
||||||
@ -207,7 +207,7 @@ class init extends common
|
|||||||
],
|
],
|
||||||
'module' => [],
|
'module' => [],
|
||||||
'user' => [],
|
'user' => [],
|
||||||
'theme' => [
|
'theme' => [
|
||||||
'body' => [
|
'body' => [
|
||||||
'backgroundColor' => 'rgba(236, 239, 241, 1)',
|
'backgroundColor' => 'rgba(236, 239, 241, 1)',
|
||||||
'image' => '',
|
'image' => '',
|
||||||
@ -333,7 +333,20 @@ class init extends common
|
|||||||
'borderBlockColor' => 'rgba(190, 202, 209, 1)'
|
'borderBlockColor' => 'rgba(190, 202, 209, 1)'
|
||||||
],
|
],
|
||||||
'blacklist' => [],
|
'blacklist' => [],
|
||||||
'language'=> [],
|
'language' => [
|
||||||
|
"fr_FR" => [
|
||||||
|
"version" => 12300,
|
||||||
|
"date" => 1677838293
|
||||||
|
],
|
||||||
|
"es" => [
|
||||||
|
"version" => 12300,
|
||||||
|
"date" => 1677838293
|
||||||
|
],
|
||||||
|
"en_EN" => [
|
||||||
|
"version" => 12300,
|
||||||
|
"date" => 1677838293
|
||||||
|
]
|
||||||
|
],
|
||||||
'profil' => [
|
'profil' => [
|
||||||
'-1' => [
|
'-1' => [
|
||||||
'name' => 'Banni',
|
'name' => 'Banni',
|
||||||
@ -374,33 +387,33 @@ class init extends common
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
'1' => [
|
'1' => [
|
||||||
'name' => 'Membre',
|
'name' => 'Membre',
|
||||||
'readonly' => false,
|
'readonly' => false,
|
||||||
'comment' => 'Accède aux pages réservées et à un dossier partagé',
|
'comment' => 'Accède aux pages réservées et à un dossier partagé',
|
||||||
'file' => [
|
'file' => [
|
||||||
'download' => false,
|
'download' => false,
|
||||||
'edit' => false,
|
'edit' => false,
|
||||||
'create' => false,
|
'create' => false,
|
||||||
'rename' => false,
|
'rename' => false,
|
||||||
'upload' => false,
|
'upload' => false,
|
||||||
'delete' => false,
|
'delete' => false,
|
||||||
'preview' => false,
|
'preview' => false,
|
||||||
'duplicate' => false,
|
'duplicate' => false,
|
||||||
'extract' => false,
|
'extract' => false,
|
||||||
'copycut' => false,
|
'copycut' => false,
|
||||||
'chmod' => false
|
'chmod' => false
|
||||||
],
|
|
||||||
'folder' => [
|
|
||||||
'create' => false,
|
|
||||||
'delete' => false,
|
|
||||||
'rename' => false,
|
|
||||||
'copycut' => false,
|
|
||||||
'chmod' => false,
|
|
||||||
'share' => true,
|
|
||||||
'path' => './site/file/source/partage/',
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
|
'folder' => [
|
||||||
|
'create' => false,
|
||||||
|
'delete' => false,
|
||||||
|
'rename' => false,
|
||||||
|
'copycut' => false,
|
||||||
|
'chmod' => false,
|
||||||
|
'share' => true,
|
||||||
|
'path' => './site/file/source/partage/',
|
||||||
|
]
|
||||||
],
|
],
|
||||||
|
],
|
||||||
'2' => [
|
'2' => [
|
||||||
'0' => [
|
'0' => [
|
||||||
'name' => 'Modérateur',
|
'name' => 'Modérateur',
|
||||||
@ -571,7 +584,7 @@ class init extends common
|
|||||||
'block' => '12',
|
'block' => '12',
|
||||||
'barLeft' => '',
|
'barLeft' => '',
|
||||||
'barRight' => '',
|
'barRight' => '',
|
||||||
'displayMenu' => 'none',
|
'displayMenu' => 'none',
|
||||||
'hideMenuSide' => false,
|
'hideMenuSide' => false,
|
||||||
'hideMenuChildren' => false,
|
'hideMenuChildren' => false,
|
||||||
'extraPosition' => false,
|
'extraPosition' => false,
|
||||||
@ -598,7 +611,7 @@ class init extends common
|
|||||||
'block' => '12',
|
'block' => '12',
|
||||||
'barLeft' => '',
|
'barLeft' => '',
|
||||||
'barRight' => '',
|
'barRight' => '',
|
||||||
'displayMenu' => 'none',
|
'displayMenu' => 'none',
|
||||||
'hideMenuSide' => false,
|
'hideMenuSide' => false,
|
||||||
'hideMenuChildren' => false,
|
'hideMenuChildren' => false,
|
||||||
'extraPosition' => false,
|
'extraPosition' => false,
|
||||||
@ -625,7 +638,7 @@ class init extends common
|
|||||||
'block' => '4-8',
|
'block' => '4-8',
|
||||||
'barLeft' => 'barre',
|
'barLeft' => 'barre',
|
||||||
'barRight' => '',
|
'barRight' => '',
|
||||||
'displayMenu' => 'none',
|
'displayMenu' => 'none',
|
||||||
'hideMenuSide' => false,
|
'hideMenuSide' => false,
|
||||||
'hideMenuChildren' => false,
|
'hideMenuChildren' => false,
|
||||||
'extraPosition' => false,
|
'extraPosition' => false,
|
||||||
@ -652,7 +665,7 @@ class init extends common
|
|||||||
'block' => '9-3',
|
'block' => '9-3',
|
||||||
'barLeft' => '',
|
'barLeft' => '',
|
||||||
'barRight' => 'barrelateraleavecmenu',
|
'barRight' => 'barrelateraleavecmenu',
|
||||||
'displayMenu' => 'none',
|
'displayMenu' => 'none',
|
||||||
'hideMenuSide' => false,
|
'hideMenuSide' => false,
|
||||||
'hideMenuChildren' => false,
|
'hideMenuChildren' => false,
|
||||||
'extraPosition' => false,
|
'extraPosition' => false,
|
||||||
@ -679,7 +692,7 @@ class init extends common
|
|||||||
'block' => '12',
|
'block' => '12',
|
||||||
'barLeft' => '',
|
'barLeft' => '',
|
||||||
'barRight' => '',
|
'barRight' => '',
|
||||||
'displayMenu' => 'none',
|
'displayMenu' => 'none',
|
||||||
'hideMenuSide' => false,
|
'hideMenuSide' => false,
|
||||||
'hideMenuChildren' => false,
|
'hideMenuChildren' => false,
|
||||||
'extraPosition' => false,
|
'extraPosition' => false,
|
||||||
@ -706,7 +719,7 @@ class init extends common
|
|||||||
'block' => '12',
|
'block' => '12',
|
||||||
'barLeft' => '',
|
'barLeft' => '',
|
||||||
'barRight' => '',
|
'barRight' => '',
|
||||||
'displayMenu' => 'none',
|
'displayMenu' => 'none',
|
||||||
'hideMenuSide' => false,
|
'hideMenuSide' => false,
|
||||||
'hideMenuChildren' => false,
|
'hideMenuChildren' => false,
|
||||||
'extraPosition' => false,
|
'extraPosition' => false,
|
||||||
@ -987,13 +1000,14 @@ class init extends common
|
|||||||
'publishedOn' => 1548790902,
|
'publishedOn' => 1548790902,
|
||||||
'state' => true,
|
'state' => true,
|
||||||
'title' => 'Mon premier article',
|
'title' => 'Mon premier article',
|
||||||
'userId' => '', // Géré au moment de l'installation
|
'userId' => '',
|
||||||
|
// Géré au moment de l'installation
|
||||||
'editConsent' => 'all',
|
'editConsent' => 'all',
|
||||||
'commentMaxlength' => '500',
|
'commentMaxlength' => '500',
|
||||||
'commentApproved' => false,
|
'commentApproved' => false,
|
||||||
'commentClose' => false,
|
'commentClose' => false,
|
||||||
'commentNotification' => false,
|
'commentNotification' => false,
|
||||||
'commentGroupNotification' => 1
|
'commentGroupNotification' => 1
|
||||||
],
|
],
|
||||||
'mon-deuxieme-article' => [
|
'mon-deuxieme-article' => [
|
||||||
'closeComment' => false,
|
'closeComment' => false,
|
||||||
@ -1006,13 +1020,14 @@ class init extends common
|
|||||||
'publishedOn' => 1550432502,
|
'publishedOn' => 1550432502,
|
||||||
'state' => true,
|
'state' => true,
|
||||||
'title' => 'Mon deuxième article',
|
'title' => 'Mon deuxième article',
|
||||||
'userId' => '', // Géré au moment de l'installation
|
'userId' => '',
|
||||||
|
// Géré au moment de l'installation
|
||||||
'editConsent' => 'all',
|
'editConsent' => 'all',
|
||||||
'commentMaxlength' => '500',
|
'commentMaxlength' => '500',
|
||||||
'commentApproved' => false,
|
'commentApproved' => false,
|
||||||
'commentClose' => false,
|
'commentClose' => false,
|
||||||
'commentNotification' => false,
|
'commentNotification' => false,
|
||||||
'commentGroupNotification' => 1
|
'commentGroupNotification' => 1
|
||||||
],
|
],
|
||||||
'mon-troisieme-article' => [
|
'mon-troisieme-article' => [
|
||||||
'closeComment' => true,
|
'closeComment' => true,
|
||||||
@ -1025,13 +1040,14 @@ class init extends common
|
|||||||
'publishedOn' => 1550864502,
|
'publishedOn' => 1550864502,
|
||||||
'state' => true,
|
'state' => true,
|
||||||
'title' => 'Mon troisième article',
|
'title' => 'Mon troisième article',
|
||||||
'userId' => '', // Géré au moment de l'installation
|
'userId' => '',
|
||||||
|
// Géré au moment de l'installation
|
||||||
'editConsent' => 'all',
|
'editConsent' => 'all',
|
||||||
'commentMaxlength' => '500',
|
'commentMaxlength' => '500',
|
||||||
'commentApproved' => false,
|
'commentApproved' => false,
|
||||||
'commentClose' => false,
|
'commentClose' => false,
|
||||||
'commentNotification' => false,
|
'commentNotification' => false,
|
||||||
'commentGroupNotification' => 1
|
'commentGroupNotification' => 1
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
@ -1081,24 +1097,24 @@ class init extends common
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
'theme' => [
|
'theme' => [
|
||||||
'thumbAlign' => 'center',
|
'thumbAlign' => 'center',
|
||||||
'thumbWidth' => '18em',
|
'thumbWidth' => '18em',
|
||||||
'thumbHeight' => '15em',
|
'thumbHeight' => '15em',
|
||||||
'thumbMargin' => '.5em',
|
'thumbMargin' => '.5em',
|
||||||
'thumbBorder' => '.1em',
|
'thumbBorder' => '.1em',
|
||||||
'thumbOpacity' => '.7',
|
'thumbOpacity' => '.7',
|
||||||
'thumbBorderColor' => 'rgba(221, 221, 221, 1)',
|
'thumbBorderColor' => 'rgba(221, 221, 221, 1)',
|
||||||
'thumbRadius' => '.3em',
|
'thumbRadius' => '.3em',
|
||||||
'thumbShadows' => '1px 1px 10px',
|
'thumbShadows' => '1px 1px 10px',
|
||||||
'thumbShadowsColor' => 'rgba(125, 125, 125, 1)',
|
'thumbShadowsColor' => 'rgba(125, 125, 125, 1)',
|
||||||
'legendHeight' => '.375em',
|
'legendHeight' => '.375em',
|
||||||
'legendAlign' => 'center',
|
'legendAlign' => 'center',
|
||||||
'legendTextColor' => 'rgba(255, 255, 255, 1)',
|
'legendTextColor' => 'rgba(255, 255, 255, 1)',
|
||||||
'legendBgColor' => 'rgba(0, 0, 0, .6)',
|
'legendBgColor' => 'rgba(0, 0, 0, .6)',
|
||||||
'style' => 'site/data/modules/gallery/galeries.css'
|
'style' => 'site/data/modules/gallery/galeries.css'
|
||||||
],
|
],
|
||||||
'config' => [
|
'config' => [
|
||||||
'versionData' => '3.0'
|
'versionData' => '3.0'
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'site-de-zwii' => [
|
'site-de-zwii' => [
|
||||||
@ -1267,4 +1283,4 @@ class init extends common
|
|||||||
'content' => '<h1>Rechercher dans le site</h1>'
|
'content' => '<h1>Rechercher dans le site</h1>'
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
}
|
}
|
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"languages": {
|
|
||||||
"fr_FR": {
|
|
||||||
"version": 12300,
|
|
||||||
"date": 1677838293
|
|
||||||
},
|
|
||||||
"es": {
|
|
||||||
"version": 12300,
|
|
||||||
"date": 1677838293
|
|
||||||
},
|
|
||||||
"en_EN": {
|
|
||||||
"version": 12300,
|
|
||||||
"date": 1677838293
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1083,9 +1083,9 @@ class theme extends common
|
|||||||
foreach ($fonts as $fontId => $fontName) {
|
foreach ($fonts as $fontId => $fontName) {
|
||||||
$zip->addFile(self::DATA_DIR . 'fonts/' . $fontName, self::DATA_DIR . 'fonts/' . $fontName);
|
$zip->addFile(self::DATA_DIR . 'fonts/' . $fontName, self::DATA_DIR . 'fonts/' . $fontName);
|
||||||
}
|
}
|
||||||
if (file_exists(self::DATA_DIR . 'fonts/fonts.html')) {
|
if (file_exists(self::DATA_DIR . 'fonts/font.html')) {
|
||||||
|
|
||||||
$zip->addFile(self::DATA_DIR . 'fonts/fonts.html', self::DATA_DIR . 'fonts/fonts.html');
|
$zip->addFile(self::DATA_DIR . 'fonts/font.html', self::DATA_DIR . 'fonts/font.html');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'theme':
|
case 'theme':
|
||||||
@ -1121,9 +1121,9 @@ class theme extends common
|
|||||||
foreach ($fonts as $fontId => $fontName) {
|
foreach ($fonts as $fontId => $fontName) {
|
||||||
$zip->addFile(self::DATA_DIR . 'fonts/' . $fontName, self::DATA_DIR . 'fonts/' . $fontName);
|
$zip->addFile(self::DATA_DIR . 'fonts/' . $fontName, self::DATA_DIR . 'fonts/' . $fontName);
|
||||||
}
|
}
|
||||||
if (file_exists(self::DATA_DIR . 'fonts/fonts.html')) {
|
if (file_exists(self::DATA_DIR . 'fonts/font.html')) {
|
||||||
|
|
||||||
$zip->addFile(self::DATA_DIR . 'fonts/fonts.html', self::DATA_DIR . 'fonts/fonts.html');
|
$zip->addFile(self::DATA_DIR . 'fonts/font.html', self::DATA_DIR . 'fonts/font.html');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1236,7 +1236,7 @@ class theme extends common
|
|||||||
$fontsInstalled = array_unique($fontsInstalled);
|
$fontsInstalled = array_unique($fontsInstalled);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Chargement des polices en ligne dans un fichier fonts.html inclus dans main.php
|
* Chargement des polices en ligne dans un fichier font.html inclus dans main.php
|
||||||
*/
|
*/
|
||||||
$gf = false;
|
$gf = false;
|
||||||
$fileContent = '<!-- Fontes personnalisées -->';
|
$fileContent = '<!-- Fontes personnalisées -->';
|
||||||
@ -1287,7 +1287,7 @@ class theme extends common
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Enregistre la personnalisation
|
// Enregistre la personnalisation
|
||||||
file_put_contents(self::DATA_DIR . 'fonts/fonts.html', $fileContent);
|
file_put_contents(self::DATA_DIR . 'fonts/font.html', $fileContent);
|
||||||
// Enregistre la personnalisation
|
// Enregistre la personnalisation
|
||||||
file_put_contents(self::DATA_DIR . 'fonts/fonts.css', $fileContentCss);
|
file_put_contents(self::DATA_DIR . 'fonts/fonts.css', $fileContentCss);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user