Commit b03521fa by Taylor Otwell

added old style auto loader setup in addition to composer.

parent b53e6cd0
...@@ -140,6 +140,7 @@ return array( ...@@ -140,6 +140,7 @@ return array(
'Auth' => 'Illuminate\Support\Facades\Auth', 'Auth' => 'Illuminate\Support\Facades\Auth',
'Blade' => 'Illuminate\Support\Facades\Blade', 'Blade' => 'Illuminate\Support\Facades\Blade',
'Cache' => 'Illuminate\Support\Facades\Cache', 'Cache' => 'Illuminate\Support\Facades\Cache',
'ClassLoader' => 'Illuminate\Foundation\ClassLoader',
'Config' => 'Illuminate\Support\Facades\Config', 'Config' => 'Illuminate\Support\Facades\Config',
'Controller' => 'Illuminate\Routing\Controllers\Controller', 'Controller' => 'Illuminate\Routing\Controllers\Controller',
'Cookie' => 'Illuminate\Support\Facades\Cookie', 'Cookie' => 'Illuminate\Support\Facades\Cookie',
......
...@@ -2,6 +2,24 @@ ...@@ -2,6 +2,24 @@
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| 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::register(new ClassLoader(array(
app_path().'/controllers',
app_path().'/models',
)));
/*
|--------------------------------------------------------------------------
| Application Error Logger | Application Error Logger
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment