Fixed index.php
This commit is contained in:
+2
-11
@@ -9,12 +9,6 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* Laravel - A PHP Framework For Web Artisans.
|
|
||||||
*
|
|
||||||
* @author Taylor Otwell <taylorotwell@gmail.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Register The Auto Loader
|
| Register The Auto Loader
|
||||||
@@ -56,11 +50,8 @@ $app = require_once __DIR__.'/../bootstrap/app.php';
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
|
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
|
||||||
|
$request = Illuminate\Http\Request::capture();
|
||||||
$response = $kernel->handle(
|
$response = $kernel->handle($request);
|
||||||
$request = Illuminate\Http\Request::capture()
|
|
||||||
);
|
|
||||||
|
|
||||||
$response->send();
|
$response->send();
|
||||||
|
|
||||||
$kernel->terminate($request, $response);
|
$kernel->terminate($request, $response);
|
||||||
|
|||||||
Reference in New Issue
Block a user