Commit 46f7aa7a authored by Richard's avatar Richard Committed by GitHub
Browse files

fread replaced with readfile() for simple send() usecase

improved performance (the overhead of looping through file contents in PHP is avoided), and cleaner code
ob_end_clean() is added in line with the php manual's recommendation, but only where $flush is true - to maintain CLI and test suite compatability
parent 7587ec16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment