Mercurial > borealpoint
comparison public/index.php @ 0:9d7dcd54c677
Initial Commit and package setup
| author | luka |
|---|---|
| date | Sat, 23 Aug 2025 22:20:51 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:9d7dcd54c677 |
|---|---|
| 1 <?php | |
| 2 | |
| 3 use Illuminate\Foundation\Application; | |
| 4 use Illuminate\Http\Request; | |
| 5 | |
| 6 define('LARAVEL_START', microtime(true)); | |
| 7 | |
| 8 // Determine if the application is in maintenance mode... | |
| 9 if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) { | |
| 10 require $maintenance; | |
| 11 } | |
| 12 | |
| 13 // Register the Composer autoloader... | |
| 14 require __DIR__.'/../vendor/autoload.php'; | |
| 15 | |
| 16 // Bootstrap Laravel and handle the request... | |
| 17 /** @var Application $app */ | |
| 18 $app = require_once __DIR__.'/../bootstrap/app.php'; | |
| 19 | |
| 20 $app->handleRequest(Request::capture()); |
