Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2020-05-01 21:36:02 -05:00
commit 4af7ca4c09

View File

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