mirror of
https://github.com/phpmon/website
synced 2025-08-07 06:40:08 +02:00
25 lines
514 B
PHP
25 lines
514 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Contracts\Http\Kernel;
|
|
use Illuminate\Http\Request;
|
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
if (file_exists($maintenance = __DIR__ . '/../storage/framework/maintenance.php')) {
|
|
require $maintenance;
|
|
}
|
|
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
$app = require_once __DIR__ . '/../bootstrap/app.php';
|
|
|
|
$kernel = $app->make(Kernel::class);
|
|
|
|
$response = $kernel->handle(
|
|
$request = Request::capture()
|
|
)->send();
|
|
|
|
$kernel->terminate($request, $response);
|