From c07f552c7045d2c3f005f28ccfd8a7487c7f340c Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 6 Feb 2013 22:04:36 -0600 Subject: [PATCH] cleaning up comments for my ocd. --- bootstrap/paths.php | 16 +++++++++------- bootstrap/start.php | 37 +++++++++++++++++++------------------ 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/bootstrap/paths.php b/bootstrap/paths.php index c4a965e7..8d2fd971 100644 --- a/bootstrap/paths.php +++ b/bootstrap/paths.php @@ -20,20 +20,22 @@ | Public Path |-------------------------------------------------------------------------- | - | We understand that not all hosting environments allow flexibility with - | public paths. That's why we allow you to change where your public path - | is below. + | The public path contains the assets for your web application, such as + | your JavaScript and CSS files, and also contains the primary entry + | point for web requests into these applications from the outside. | */ 'public' => __DIR__.'/../public', /* - |-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* - | Base Path - |-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* + |-------------------------------------------------------------------------- + | Public Path + |-------------------------------------------------------------------------- | - | You probably shouldn't be editing this. + | The base path is the root of the Laravel installation. Most likely you + | will not need to change this value. But, if for some wild reason it + | is necessary you will do so here, just proceed with some caution. | */ diff --git a/bootstrap/start.php b/bootstrap/start.php index 643e1017..bd903538 100644 --- a/bootstrap/start.php +++ b/bootstrap/start.php @@ -13,24 +13,6 @@ $app = new Illuminate\Foundation\Application; -/* -|-------------------------------------------------------------------------- -| Bind Paths -|-------------------------------------------------------------------------- -| -| Here we are binding the paths configured in paths.php to the app. You -| should not be changing these here but rather in paths.php. -| -*/ - -$paths = require __DIR__.'/paths.php'; - -$app->instance('path', $appPath = $paths['app']); - -$app->instance('path.base', $paths['base']); - -$app->instance('path.public', $paths['public']); - /* |-------------------------------------------------------------------------- | Detect The Application Environment @@ -48,6 +30,25 @@ )); +/* +|-------------------------------------------------------------------------- +| Bind Paths +|-------------------------------------------------------------------------- +| +| Here we are binding the paths configured in paths.php to the app. You +| should not be changing these here. If you need to change these you +| may do so within the paths.php file and they will be bound here. +| +*/ + +$paths = require __DIR__.'/paths.php'; + +$app->instance('path', $appPath = $paths['app']); + +$app->instance('path.base', $paths['base']); + +$app->instance('path.public', $paths['public']); + /* |-------------------------------------------------------------------------- | Load The Application