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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user