From 5c7c9f36384bb3f64837064baa975c124a34a457 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 24 Jun 2020 13:09:30 -0500 Subject: [PATCH] adjust index script --- public/index.php | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/public/index.php b/public/index.php index 794bc350..35552858 100644 --- a/public/index.php +++ b/public/index.php @@ -1,5 +1,8 @@ make(Illuminate\Contracts\Http\Kernel::class); +$app = require_once __DIR__.'/../bootstrap/app.php'; + +$kernel = $app->make(Kernel::class); $response = tap($kernel->handle( - $request = Illuminate\Http\Request::capture() + $request = Request::capture() ))->send(); $kernel->terminate($request, $response);