hypothetical/public/index.php

18 lines
468 B
PHP
Raw Permalink Normal View History

<?php
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
2024-03-19 17:11:58 -04:00
// Determine if the application is in maintenance mode...
2022-05-23 21:01:33 -04:00
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
2024-03-19 17:11:58 -04:00
// Register the Composer autoloader...
require __DIR__.'/../vendor/autoload.php';
2024-03-19 17:11:58 -04:00
// Bootstrap Laravel and handle the request...
(require_once __DIR__.'/../bootstrap/app.php')
->handleRequest(Request::capture());