close the file handle after readfile
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
c02b0199b0
commit
89d37575a3
1 changed files with 1 additions and 0 deletions
|
@ -431,6 +431,7 @@ class View {
|
|||
echo fread($handle, $chunkSize);
|
||||
flush();
|
||||
}
|
||||
fclose($handle);
|
||||
$size = $this->filesize($path);
|
||||
return $size;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue