From 9624d275a48f85e08969e86b130012ba68b89637 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sun, 10 Jul 2011 23:40:05 -0500 Subject: [PATCH] removed comment bloat from index.php. --- public/index.php | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/public/index.php b/public/index.php index 2c296c50..3fdfb6b4 100644 --- a/public/index.php +++ b/public/index.php @@ -9,11 +9,6 @@ * @link http://laravel.com */ -// -------------------------------------------------------------- -// Set the framework starting time. -// -------------------------------------------------------------- -define('LARAVEL_START', microtime(true)); - // -------------------------------------------------------------- // Define the framework paths. // -------------------------------------------------------------- @@ -86,20 +81,13 @@ // -------------------------------------------------------------- $response = System\Route\Filter::call('before', array(), true); -// -------------------------------------------------------------- -// Only execute the route function if the "before" filter did -// not override by sending a response. -// -------------------------------------------------------------- +// ---------------------------------------------------------- +// Execute the route function. +// ---------------------------------------------------------- if (is_null($response)) { - // ---------------------------------------------------------- - // Route the request to the proper route. - // ---------------------------------------------------------- $route = System\Router::route(Request::method(), Request::uri()); - // ---------------------------------------------------------- - // Execute the route function. - // ---------------------------------------------------------- if ( ! is_null($route)) { $response = $route->call();