Merge pull request #706 from Vespakoen/patch-1

(profiler doesn't show up) laravel.done event doesn't get fired for php-fcgi users
This commit is contained in:
Taylor Otwell
2012-08-13 12:16:08 -07:00
3 changed files with 56 additions and 2 deletions

View File

@@ -178,4 +178,18 @@ $response->send();
|
*/
Event::fire('laravel.done', array($response));
Event::fire('laravel.done', array($response));
/*
|--------------------------------------------------------------------------
| Finish the request for PHP-FastCGI
|--------------------------------------------------------------------------
|
| Stopping the PHP process for PHP-FastCGI users to speed up some
| PHP queries. Acceleration is possible when there are actions in the
| process of script execution that do not affect server response.
| For example, saving the session in memcached can occur after the page
| has been formed and passed to a web server.
*/
$response->foundation->finish();