Rabbi_Gerzi/backend/public/index.php
2026-05-25 20:24:59 +03:00

23 lines
621 B
PHP

<?php
// phpcs:disable PSR1.Files.SideEffects.FoundWithSymbols
use Illuminate\Foundation\Application;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
// Determine if the application is in maintenance mode...
$maintenance = __DIR__ . '/../storage/framework/maintenance.php';
if (file_exists($maintenance)) {
require $maintenance;
}
// Register the Composer autoloader...
require __DIR__ . '/../vendor/autoload.php';
// Bootstrap Laravel and handle the request...
/** @var Application $app */
$app = require_once __DIR__ . '/../bootstrap/app.php';
$app->handleRequest(Request::capture());