diff options
| author | Nick Van Doorn <nick@nvandoorn.com> | 2025-04-21 15:04:28 -0700 |
|---|---|---|
| committer | Nick Van Doorn <nick@nvandoorn.com> | 2025-04-21 15:04:28 -0700 |
| commit | 9cdf46ae1ceff8dce9dd5b1c8587f2d948a88e2c (patch) | |
| tree | 863cf7e6738a4cd432ac9c0106d48bb2294d0f32 /public/index.php | |
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..ee8f07e --- /dev/null +++ b/public/index.php @@ -0,0 +1,20 @@ +<?php + +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')) { + 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()); |
