mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 12:46:03 +00:00
01_FHEMWEB.pm: uset CORE::stat (Forum #66896)
git-svn-id: https://svn.fhem.de/fhem/trunk@13461 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6295acc891
commit
dd040c5012
@ -1864,7 +1864,8 @@ FW_fileList($;$)
|
||||
push(@ret, $f);
|
||||
}
|
||||
closedir(DH);
|
||||
return sort { (stat("$dir/$a"))[9] cmp (stat("$dir/$b"))[9] } @ret if($mtime);
|
||||
return sort { (CORE::stat("$dir/$a"))[9] cmp (CORE::stat("$dir/$b"))[9] }
|
||||
@ret if($mtime);
|
||||
@ret = cfgDB_FW_fileList($dir,$re,@ret) if (configDBUsed());
|
||||
return sort @ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user