mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-17 02:35:10 +00: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;
|
$path = $this->pwd . '/' . $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user