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;
}