mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-12 09:51:32 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
076c69fa1b
@ -750,7 +750,7 @@ class SFTP extends SSH2
|
|||||||
{
|
{
|
||||||
$files = $this->_list($dir, false);
|
$files = $this->_list($dir, false);
|
||||||
|
|
||||||
if (!$recursive) {
|
if (!$recursive || $files === false) {
|
||||||
return $files;
|
return $files;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user