Skip to content
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #13 from benbor/flush-output-fastcgi
Browse files Browse the repository at this point in the history
Flush output for fastcgi SAPI
  • Loading branch information
markstory authored Jul 25, 2018
2 parents c821b58 + 3c173f9 commit 032c9bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions external/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ function () {
// since we're delaying that a bit by dealing with the xhprof stuff, we'll do it now to avoid making the user wait.
ignore_user_abort(true);
flush();
if (function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
}

if (!defined('XHGUI_ROOT_DIR')) {
require dirname(dirname(__FILE__)) . '/src/bootstrap.php';
Expand Down

0 comments on commit 032c9bf

Please sign in to comment.