Correction de la génération de la liste de skin

This commit is contained in:
Knah Tsaeb 2014-08-29 17:23:19 +02:00
parent 8b39a207db
commit de5cb8f122

View file

@ -48,7 +48,10 @@ $autoform_config=array(
'reset_button_label' '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;} $skin=basename($skin);if ($skin!='index.html'){$skins[]=$skin;}
} }
$autoform_config['skin']=$skins; $autoform_config['skin']=$skins;