From de5cb8f122beb52d0aca74552fe6f16188623a81 Mon Sep 17 00:00:00 2001 From: Knah Tsaeb Date: Fri, 29 Aug 2014 17:23:19 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20de=20la=20g=C3=A9n=C3=A9ration=20d?= =?UTF-8?q?e=20la=20liste=20de=20skin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config_page.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config_page.php b/config_page.php index 9fc115d..ae3f1c6 100644 --- a/config_page.php +++ b/config_page.php @@ -48,7 +48,10 @@ $autoform_config=array( 'reset_button_label' ); -foreach (glob('design/*') as $skin){ +foreach (glob('design/*',GLOB_ONLYDIR) as $skin){ + if(basename($skin) === 'icons'){ + continue; + } $skin=basename($skin);if ($skin!='index.html'){$skins[]=$skin;} } $autoform_config['skin']=$skins;