]> BookStack Code Mirror - website/blob - public/index.php
04aa08688e00b48fb8777313f5d6c6c0e23cd9ac
[website] / public / index.php
1 <?php
2
3 /*
4 |--------------------------------------------------------------------------
5 | Create The Application
6 |--------------------------------------------------------------------------
7 |
8 | First we need to get an application instance. This creates an instance
9 | of the application / container and bootstraps the application so it
10 | is ready to receive HTTP / Console requests from the environment.
11 |
12 */
13
14 $app = require __DIR__.'/../bootstrap/app.php';
15
16 /*
17 |--------------------------------------------------------------------------
18 | Run The Application
19 |--------------------------------------------------------------------------
20 |
21 | Once we have the application, we can handle the incoming request
22 | through the kernel, and send the associated response back to
23 | the client's browser allowing them to enjoy the creative
24 | and wonderful application we have prepared for them.
25 |
26 */
27
28 $app->run();