Update laravel to 9.x
This commit is contained in:
@@ -16,8 +16,8 @@ define('LARAVEL_START', microtime(true));
|
||||
|
|
||||
*/
|
||||
|
||||
if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) {
|
||||
require __DIR__.'/../storage/framework/maintenance.php';
|
||||
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
|
||||
require $maintenance;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -48,8 +48,8 @@ $app = require_once __DIR__.'/../bootstrap/app.php';
|
||||
|
||||
$kernel = $app->make(Kernel::class);
|
||||
|
||||
$response = tap($kernel->handle(
|
||||
$response = $kernel->handle(
|
||||
$request = Request::capture()
|
||||
))->send();
|
||||
)->send();
|
||||
|
||||
$kernel->terminate($request, $response);
|
||||
|
Reference in New Issue
Block a user