[VD:LocalFileSystem] prevent PHP timeout on _scandir()

This commit is contained in:
nao-pon
2017-06-09 16:23:48 +09:00
parent d33278e69d
commit 70650d2f99
@@ -644,6 +644,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
* @author Dmitry (dio) Levashov
**/
protected function _scandir($path) {
elFinder::extendTimeLimit();
$files = array();
$cache = array();
$dirWritable = is_writable($path);