1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-15 10:26:59 +01:00

Merge branch '3.0'

This commit is contained in:
terrafrost 2020-05-01 21:36:12 -05:00
commit b3688c244c

View File

@ -679,7 +679,7 @@ class SFTP extends SSH2
}
}
if ($path[0] != '/') {
if (!strlen($path) || $path[0] != '/') {
$path = $this->pwd . '/' . $path;
}