From 61a907785d9382adeb2de05b4b080de1d270f6d0 Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 19 Oct 2025 14:24:00 +0200 Subject: =?UTF-8?q?suppression=20champ=20file=5Fpath=5Fmini=20dans=20Asset?= =?UTF-8?q?,=20nettoyage=20divers,=20r=C3=A9solution=20bug=20quand=20pas?= =?UTF-8?q?=20d'image=20de=20fond?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/installation.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/installation.php') 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){ /* -- table asset -- */ // paramètres: file_name, file_path, file_path_mini, mime_type, alt - $favicon = new Asset("favicon48x48.png", NULL, "assets/favicon48x48.png", "image/png", "favicon"); - $facebook = new Asset("facebook.svg", NULL, "assets/facebook.svg", "image/svg+xml", "facebook"); - $instagram = new Asset("instagram.svg", NULL, "assets/instagram.svg", "image/svg+xml", "instagram"); - $linkedin = new Asset("linkedin.svg", NULL, "assets/linkedin.svg", "image/svg+xml", "linkedin"); - $github = new Asset("github.svg", NULL, "assets/github.svg", "image/svg+xml", "github"); + $favicon = new Asset("favicon48x48.png", "assets/favicon48x48.png", "image/png", "favicon"); + $background = new Asset("fond-piscine.jpg", "assets/fond-piscine.jpg", "image/jpeg", "background"); + $logo = new Asset("logo-nb-et-ffn.png", "assets/logo-nb-et-ffn.png", "image/png", "logo"); + $facebook = new Asset("facebook.svg", "assets/facebook.svg", "image/svg+xml", "facebook"); + $instagram = new Asset("instagram.svg", "assets/instagram.svg", "image/svg+xml", "instagram"); + $linkedin = new Asset("linkedin.svg", "assets/linkedin.svg", "image/svg+xml", "linkedin"); + $github = new Asset("github.svg", "assets/github.svg", "image/svg+xml", "github"); /* -- table node_data -- */ // paramètres: data, node, images -- cgit v1.2.3