diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-12-12 05:38:42 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-12-12 05:38:42 +0300 |
commit | b3e9a49642b163eb0683b012b997c0dff444c037 (patch) | |
tree | dd7545ad8b90cd141ceb03abc4e11b044be05c19 /libs/upgradephp | |
parent | 8fecf6d1ac210008420c3697773f715cd5827dd1 (diff) |
Fixes #6845 -silent notice
Diffstat (limited to 'libs/upgradephp')
-rw-r--r-- | libs/upgradephp/upgrade.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/upgradephp/upgrade.php b/libs/upgradephp/upgrade.php index 322ffd0455..903611c970 100644 --- a/libs/upgradephp/upgrade.php +++ b/libs/upgradephp/upgrade.php @@ -633,8 +633,8 @@ function _readfile($filename, $byteStart, $byteEnd, $useIncludePath = false, $co for ($pos = $byteStart; $pos < $byteEnd && !feof($handle); $pos = ftell($handle)) { echo fread($handle, min(8192, $byteEnd - $pos)); - ob_flush(); - flush(); + @ob_flush(); + @flush(); } fclose($handle); |