mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00:00
Merge branch '3.0'
This commit is contained in:
commit
14d546c002
@ -2006,8 +2006,10 @@ class SFTP extends SSH2
|
|||||||
$this->touch($remote_file, $stat['mtime'], $stat['atime']);
|
$this->touch($remote_file, $stat['mtime'], $stat['atime']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($fp) && is_resource($fp)) {
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $this->close_handle($handle);
|
return $this->close_handle($handle);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user