Skip to content

Commit

Permalink
Merge pull request #139 from cygnite/dev
Browse files Browse the repository at this point in the history
Merging Dev with master
  • Loading branch information
sanjoydesk authored Dec 11, 2016
2 parents c1e9b8f + 8bda24e commit 2b9003e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Cygnite/Http/Responses/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,9 @@ public function send()
if (function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
} elseif (strtolower(PHP_SAPI) != 'cli') {
ob_end_flush();
if (ob_get_length()) {
ob_end_flush();
}
}

return $this;
Expand Down

0 comments on commit 2b9003e

Please sign in to comment.