Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2016-11-19 20:39:58 -06:00
commit f981310266

View File

@ -2180,6 +2180,10 @@ class SFTP extends SSH2
return false; return false;
} }
if (empty($path)) {
return false;
}
$path = $this->_realpath($path); $path = $this->_realpath($path);
if ($path === false) { if ($path === false) {
return false; return false;