2016-05-19 15:01:28 +01:00
|
|
|
<?php
|
|
|
|
|
2025-03-01 15:00:41 +00:00
|
|
|
use Illuminate\Foundation\Application;
|
2020-10-17 17:15:06 +01:00
|
|
|
use Illuminate\Http\Request;
|
2016-05-19 15:01:28 +01:00
|
|
|
|
2017-09-04 19:34:39 +01:00
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
|
2025-03-01 15:00:41 +00:00
|
|
|
// Determine if the application is in maintenance mode...
|
2023-06-09 18:31:53 +01:00
|
|
|
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
|
|
|
|
require $maintenance;
|
2020-10-17 17:15:06 +01:00
|
|
|
}
|
2016-05-19 15:01:28 +01:00
|
|
|
|
2025-03-01 15:00:41 +00:00
|
|
|
// Register the Composer autoloader...
|
2023-06-09 18:31:53 +01:00
|
|
|
require __DIR__.'/../vendor/autoload.php';
|
2016-05-19 15:01:28 +01:00
|
|
|
|
2025-03-01 15:00:41 +00:00
|
|
|
// Bootstrap Laravel and handle the request...
|
|
|
|
/** @var Application $app */
|
2023-06-09 18:31:53 +01:00
|
|
|
$app = require_once __DIR__.'/../bootstrap/app.php';
|
2016-05-19 15:01:28 +01:00
|
|
|
|
2025-03-01 15:00:41 +00:00
|
|
|
$app->handleRequest(Request::capture());
|