|
0
|
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());
|