From 2a14998be997329ebb86cff5b64df76d00446241 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 8 Mar 2013 10:52:24 -0600 Subject: [PATCH] fire app shutdown event. --- artisan | 13 +++++++++++++ public/index.php | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/artisan b/artisan index ce2189de..686d2d3b 100644 --- a/artisan +++ b/artisan @@ -57,3 +57,16 @@ $artisan = Illuminate\Console\Application::start($app); */ $artisan->run(); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running. We will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$app->shutdown(); \ No newline at end of file diff --git a/public/index.php b/public/index.php index 030db7d1..8d81361b 100644 --- a/public/index.php +++ b/public/index.php @@ -49,3 +49,16 @@ */ $app->run(); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running. We will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$app->shutdown(); \ No newline at end of file