forge/public/index.php

20 lines
494 B
PHP
Raw Normal View History

2024-05-13 18:55:34 -04:00
<?php
2025-01-30 00:23:55 -05:00
declare(strict_types=1);
2024-05-13 18:55:34 -04:00
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')) {
require $maintenance;
}
// Register the Composer autoloader...
require __DIR__.'/../vendor/autoload.php';
// Bootstrap Laravel and handle the request...
(require_once __DIR__.'/../bootstrap/app.php')
->handleRequest(Request::capture());