2011-06-08 23:45:08 -05:00
|
|
|
<?php
|
|
|
|
|
/**
|
2011-11-25 11:33:50 -06:00
|
|
|
* Laravel - A PHP Framework For Web Artisans
|
2011-06-08 23:45:08 -05:00
|
|
|
*
|
|
|
|
|
* @package Laravel
|
2011-08-23 21:04:40 -05:00
|
|
|
* @author Taylor Otwell <taylorotwell@gmail.com>
|
2011-06-08 23:45:08 -05:00
|
|
|
*/
|
2011-09-03 23:50:03 -05:00
|
|
|
|
2013-01-11 15:14:07 -06:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
2013-01-23 23:33:47 -06:00
|
|
|
| Register The Auto Loader
|
2013-01-11 15:14:07 -06:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| Composer provides a convenient, automatically generated class loader
|
|
|
|
|
| for our application. We just need to utilize it! We'll require it
|
|
|
|
|
| into the script here so that we do not have to worry about the
|
|
|
|
|
| loading of any our classes "manually". Feels great to relax.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2013-01-23 23:33:47 -06:00
|
|
|
require __DIR__.'/../bootstrap/autoload.php';
|
2013-01-11 15:14:07 -06:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Turn On The Lights
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| We need to illuminate PHP development, so let's turn on the lights.
|
2013-05-29 16:37:27 -04:00
|
|
|
| This bootstraps the framework and gets it ready for use, then it
|
2013-01-11 15:14:07 -06:00
|
|
|
| will load up this application so that we can run it and send
|
|
|
|
|
| the responses back to the browser and delight these users.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2013-02-07 09:12:56 +11:00
|
|
|
$app = require_once __DIR__.'/../bootstrap/start.php';
|
2013-01-11 15:14:07 -06:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Run The Application
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
2013-01-19 19:34:38 +00:00
|
|
|
| Once we have the application, we can simply call the run method,
|
2013-01-11 15:14:07 -06:00
|
|
|
| which will execute the request and send the response back to
|
|
|
|
|
| the client's browser allowing them to enjoy the creative
|
2013-10-25 00:28:22 -05:00
|
|
|
| and wonderful application we have whipped up for them.
|
2013-01-11 15:14:07 -06:00
|
|
|
|
|
|
|
|
|
*/
|
2014-08-18 22:46:16 -05:00
|
|
|
|
2013-10-28 09:29:09 -05:00
|
|
|
$app->run();
|