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:
commit
b3688c244c
@ -679,7 +679,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