caused problems without ob_start present, or ini output_buffering (Patch by John Bercik)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334234 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2014-07-10 14:47:22 +00:00
parent ed9c01378f
commit 0428b98f0b

View file

@ -80,8 +80,6 @@ if (file_exists($file)) {
header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($file));
ob_clean();
flush();
readfile($file);
exit;
}