diff --git a/plugins/personal/environment/class_kioskManagementDialog.inc b/plugins/personal/environment/class_kioskManagementDialog.inc
index 107af006611388d184d48eb4300bf908aaa543cf..33d577c289a840d0b2b8d2e5fe0bb2bd84d10927 100644 (file)
}else{
$a_return = array();
while($file = readdir($dir)){
- if(!(($file==".")||($file==".."))){
+ if(!preg_match("/^\./", $file)){
$name = $file;
$a_return[$name] = $name;
}