expressolivretools / public / index.php @ 3e379cec
Histórico | Ver | Anotar | Baixar (897 Bytes)
1 | 3e379cec | Alexandre Correia | <?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(); |