123456789101112131415161718192021
  1. <?php
  2. use Illuminate\Foundation\Application;
  3. use Illuminate\Http\Request;
  4. define('LARAVEL_START', microtime(true));
  5. // Determine if the application is in maintenance mode...
  6. if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
  7. require $maintenance;
  8. }
  9. // Register the Composer autoloader...
  10. require __DIR__.'/../vendor/autoload.php';
  11. // Bootstrap Laravel and handle the request...
  12. /** @var Application $app */
  13. $app = require_once __DIR__.'/../bootstrap/app.php';
  14. $app->handleRequest(Request::capture());