mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-29 18:18:39 +00:00
Merge branch '2.0'
This commit is contained in:
commit
aa8a30cd81
@ -800,6 +800,7 @@ class SFTP extends SSH2
|
||||
}
|
||||
if (is_array($this->query_stat_cache($this->realpath($dir . '/' . $value)))) {
|
||||
$temp = $this->nlist_helper($dir . '/' . $value, true, $relativeDir . $value . '/');
|
||||
$temp = is_array($temp) ? $temp : [];
|
||||
$result = array_merge($result, $temp);
|
||||
} else {
|
||||
$result[] = $relativeDir . $value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user