diff options
author | polo <ordipolo@gmx.fr> | 2025-10-19 14:24:00 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-10-19 14:24:00 +0200 |
commit | 61a907785d9382adeb2de05b4b080de1d270f6d0 (patch) | |
tree | a29ba877c4ac2e50ec04445726c3e0c464cea2c7 /src/installation.php | |
parent | c9aa2be60924fc32c2d3d4f62596ed7c786fe3c1 (diff) | |
download | cms-61a907785d9382adeb2de05b4b080de1d270f6d0.zip |
suppression champ file_path_mini dans Asset, nettoyage divers, résolution bug quand pas d'image de fond
Diffstat (limited to 'src/installation.php')
-rw-r--r-- | src/installation.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/installation.php b/src/installation.php index e0314a5..7fff5f7 100644 --- a/src/installation.php +++ b/src/installation.php | |||
@@ -118,11 +118,13 @@ function makeStartPage(EntityManager $entityManager){ | |||
118 | 118 | ||
119 | /* -- table asset -- */ | 119 | /* -- table asset -- */ |
120 | // paramètres: file_name, file_path, file_path_mini, mime_type, alt | 120 | // paramètres: file_name, file_path, file_path_mini, mime_type, alt |
121 | $favicon = new Asset("favicon48x48.png", NULL, "assets/favicon48x48.png", "image/png", "favicon"); | 121 | $favicon = new Asset("favicon48x48.png", "assets/favicon48x48.png", "image/png", "favicon"); |
122 | $facebook = new Asset("facebook.svg", NULL, "assets/facebook.svg", "image/svg+xml", "facebook"); | 122 | $background = new Asset("fond-piscine.jpg", "assets/fond-piscine.jpg", "image/jpeg", "background"); |
123 | $instagram = new Asset("instagram.svg", NULL, "assets/instagram.svg", "image/svg+xml", "instagram"); | 123 | $logo = new Asset("logo-nb-et-ffn.png", "assets/logo-nb-et-ffn.png", "image/png", "logo"); |
124 | $linkedin = new Asset("linkedin.svg", NULL, "assets/linkedin.svg", "image/svg+xml", "linkedin"); | 124 | $facebook = new Asset("facebook.svg", "assets/facebook.svg", "image/svg+xml", "facebook"); |
125 | $github = new Asset("github.svg", NULL, "assets/github.svg", "image/svg+xml", "github"); | 125 | $instagram = new Asset("instagram.svg", "assets/instagram.svg", "image/svg+xml", "instagram"); |
126 | $linkedin = new Asset("linkedin.svg", "assets/linkedin.svg", "image/svg+xml", "linkedin"); | ||
127 | $github = new Asset("github.svg", "assets/github.svg", "image/svg+xml", "github"); | ||
126 | 128 | ||
127 | /* -- table node_data -- */ | 129 | /* -- table node_data -- */ |
128 | // paramètres: data, node, images | 130 | // paramètres: data, node, images |