Fixed class loading

This commit is contained in:
Graham Campbell
2015-01-01 15:46:26 +00:00
parent 8d417baa8b
commit c38fdbc1d4
3 changed files with 0 additions and 36 deletions

View File

@@ -1,27 +1,5 @@
<?php
/*
|--------------------------------------------------------------------------
| Register The Laravel Class Loader
|--------------------------------------------------------------------------
|
| In addition to using Composer, you may use the Laravel class loader to
| load your controllers and models. This is useful for keeping all of
| your classes in the "global" namespace without Composer updating.
|
*/
ClassLoader::addDirectories([
app_path().'/commands',
app_path().'/controllers',
app_path().'/models',
app_path().'/transformers',
app_path().'/database/seeds',
app_path().'/filters',
]);
/*
|--------------------------------------------------------------------------
| Application Error Logger

View File

@@ -44,19 +44,6 @@ if (file_exists($compiled = __DIR__.'/compiled.php')) {
Patchwork\Utf8\Bootup::initMbstring();
/*
|--------------------------------------------------------------------------
| 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

View File

@@ -27,7 +27,6 @@
},
"autoload": {
"classmap": [
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",