ldc-ovoteam/public/index.php

23 lines
575 B
PHP
Raw Permalink Normal View History

2026-03-16 12:36:44 +01:00
<?php
declare(strict_types=1);
2026-03-16 12:36:44 +01:00
use Illuminate\Foundation\Application;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__ . '/../storage/framework/maintenance.php')) {
2026-03-16 12:36:44 +01:00
require $maintenance;
}
// Register the Composer autoloader...
require __DIR__ . '/../vendor/autoload.php';
2026-03-16 12:36:44 +01:00
// Bootstrap Laravel and handle the request...
/** @var Application $app */
$app = require_once __DIR__ . '/../bootstrap/app.php';
2026-03-16 12:36:44 +01:00
$app->handleRequest(Request::capture());