mirror of
https://github.com/danog/phpseclib.git
synced 2025-01-22 04:51:19 +01:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
2a6fc5695c
@ -719,7 +719,7 @@ class SFTP extends SSH2
|
||||
}
|
||||
}
|
||||
|
||||
if ($path[0] != '/') {
|
||||
if (!strlen($path) || $path[0] != '/') {
|
||||
$path = $this->pwd . '/' . $path;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user