# eco_oce (30.04.2017 / 20:07)Maybe you need to put all the code in the body of the loop?
Is not working,
* (+/-)
foreach (glob('../theme/*/*.css') as $val) {
$itu = explode('/', dirname($val));
$theme_list[] = array_pop($itu);
$set_user['skin'] = isset($_POST['skin']) && in_array($_POST['skin'], $theme_list) ? functions::check($_POST['skin']) : $set['skindef'];
}Добавлено: 30.04.2017 / 20:12
I'm not sure, try it.