|
@@ -46,8 +46,12 @@ $app = require_once __DIR__.'/../bootstrap/app.php';
|
|
|
|
|
|
|
|
*/
|
|
*/
|
|
|
|
|
|
-$response = $app->make('Illuminate\Contracts\Http\Kernel')->handle(
|
|
|
|
- Illuminate\Http\Request::capture()
|
|
|
|
|
|
+$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
|
|
|
|
+
|
|
|
|
+$response = $kernel->handle(
|
|
|
|
+ $request = Illuminate\Http\Request::capture()
|
|
);
|
|
);
|
|
|
|
|
|
$response->send();
|
|
$response->send();
|
|
|
|
+
|
|
|
|
+$kernel->terminate($request, $response);
|