Correction de la génération de la liste de skin
This commit is contained in:
parent
8b39a207db
commit
de5cb8f122
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Reference in a new issue