Mercurial > borealpoint
diff public/index.php @ 0:9d7dcd54c677
Initial Commit and package setup
| author | luka |
|---|---|
| date | Sat, 23 Aug 2025 22:20:51 -0400 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/public/index.php Sat Aug 23 22:20:51 2025 -0400 @@ -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());
