From 35a9aaa4c2439338db404ba75f176e9f47fa0f53 Mon Sep 17 00:00:00 2001 From: Esenjin Date: Fri, 3 Jan 2025 00:28:19 +0100 Subject: [PATCH] =?UTF-8?q?il=20n'est=20plus=20possible=20de=20cr=C3=A9er?= =?UTF-8?q?=20des=20sous-dossiers=20dans=20des=20dossiers=20contenant=20de?= =?UTF-8?q?s=20images?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arbre.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arbre.php b/arbre.php index bd85f0c..752cb96 100644 --- a/arbre.php +++ b/arbre.php @@ -131,7 +131,9 @@ function generateTree($path, $currentPath) { $output .= '🖼️'; } $output .= ''; - $output .= ''; + if (!hasImages($fullPath)) { + $output .= ''; + } if ($fullPath !== './liste_albums') { $output .= ''; }