cleaning up the application start file.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
@@ -72,8 +72,7 @@ Event::listen(View::loader, function($bundle, $view)
|
|||||||
| The Laravel language loader is responsible for returning the array of
|
| The Laravel language loader is responsible for returning the array of
|
||||||
| language lines for a given bundle, language, and "file". A default
|
| language lines for a given bundle, language, and "file". A default
|
||||||
| implementation has been provided which uses the default language
|
| implementation has been provided which uses the default language
|
||||||
| directories included with Laravel. However, you may tweak this
|
| directories included with Laravel.
|
||||||
| method to laad your language arrays however you wish.
|
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -118,10 +117,6 @@ if ( ! Request::cli() and Config::get('session.driver') !== '')
|
|||||||
| Auto-Loader Mappings
|
| Auto-Loader Mappings
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| Laravel uses a simple array of class to path mappings to drive the class
|
|
||||||
| auto-loader. This simple approach helps avoid the performance problems
|
|
||||||
| of searching through directories by convention.
|
|
||||||
|
|
|
||||||
| Registering a mapping couldn't be easier. Just pass an array of class
|
| Registering a mapping couldn't be easier. Just pass an array of class
|
||||||
| to path maps into the "map" function of Autoloader. Then, when you
|
| to path maps into the "map" function of Autoloader. Then, when you
|
||||||
| want to use that class, just use it. It's simple!
|
| want to use that class, just use it. It's simple!
|
||||||
@@ -141,10 +136,6 @@ Autoloader::map(array(
|
|||||||
| naming convention. This convention basically organizes classes by using
|
| naming convention. This convention basically organizes classes by using
|
||||||
| the class namespace to indicate the directory structure.
|
| the class namespace to indicate the directory structure.
|
||||||
|
|
|
|
||||||
| So you don't have to manually map all of your models, we've added the
|
|
||||||
| models and libraries directories for you. So, you can model away and
|
|
||||||
| the auto-loader will take care of the rest.
|
|
||||||
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Autoloader::directories(array(
|
Autoloader::directories(array(
|
||||||
|
|||||||
Reference in New Issue
Block a user