removed comment bloat from index.php.
This commit is contained in:
parent
c75f298c34
commit
9624d275a4
|
@ -9,11 +9,6 @@
|
||||||
* @link http://laravel.com
|
* @link http://laravel.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
|
||||||
// Set the framework starting time.
|
|
||||||
// --------------------------------------------------------------
|
|
||||||
define('LARAVEL_START', microtime(true));
|
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// Define the framework paths.
|
// Define the framework paths.
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
@ -86,20 +81,13 @@
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
$response = System\Route\Filter::call('before', array(), true);
|
$response = System\Route\Filter::call('before', array(), true);
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// ----------------------------------------------------------
|
||||||
// Only execute the route function if the "before" filter did
|
// Execute the route function.
|
||||||
// not override by sending a response.
|
// ----------------------------------------------------------
|
||||||
// --------------------------------------------------------------
|
|
||||||
if (is_null($response))
|
if (is_null($response))
|
||||||
{
|
{
|
||||||
// ----------------------------------------------------------
|
|
||||||
// Route the request to the proper route.
|
|
||||||
// ----------------------------------------------------------
|
|
||||||
$route = System\Router::route(Request::method(), Request::uri());
|
$route = System\Router::route(Request::method(), Request::uri());
|
||||||
|
|
||||||
// ----------------------------------------------------------
|
|
||||||
// Execute the route function.
|
|
||||||
// ----------------------------------------------------------
|
|
||||||
if ( ! is_null($route))
|
if ( ! is_null($route))
|
||||||
{
|
{
|
||||||
$response = $route->call();
|
$response = $route->call();
|
||||||
|
|
Loading…
Reference in New Issue