tweak how autoloader works.

This commit is contained in:
Taylor Otwell
2013-01-30 19:46:36 -06:00
parent 0e5b8ae8f7
commit 098c6c6295
3 changed files with 16 additions and 3 deletions

View File

@@ -14,6 +14,19 @@
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Register The Laravel Auto Loader
|--------------------------------------------------------------------------
|
| We register an auto-loader "behind" the Composer loader that can load
| model classes on the fly, even if the autoload files have not been
| regenerated for the application. We'll add it to the stack here.
|
*/
Illuminate\Support\ClassLoader::register();
/*
|--------------------------------------------------------------------------
| Register The Workbench Loaders