removed comment bloat from index.php.
This commit is contained in:
parent
c75f298c34
commit
9624d275a4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue