File tree 3 files changed +16
-3
lines changed 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 142
142
'Auth ' => 'Illuminate\Support\Facades\Auth ' ,
143
143
'Blade ' => 'Illuminate\Support\Facades\Blade ' ,
144
144
'Cache ' => 'Illuminate\Support\Facades\Cache ' ,
145
- 'ClassLoader ' => 'Illuminate\Foundation \ClassLoader ' ,
145
+ 'ClassLoader ' => 'Illuminate\Support \ClassLoader ' ,
146
146
'Config ' => 'Illuminate\Support\Facades\Config ' ,
147
147
'Controller ' => 'Illuminate\Routing\Controllers\Controller ' ,
148
148
'Cookie ' => 'Illuminate\Support\Facades\Cookie ' ,
Original file line number Diff line number Diff line change 11
11
|
12
12
*/
13
13
14
- ClassLoader::register ( new ClassLoader (array (
14
+ ClassLoader::addDirectories (array (
15
15
16
16
app_path ().'/controllers ' ,
17
17
app_path ().'/models ' ,
18
18
19
- ))) ;
19
+ ));
20
20
21
21
/*
22
22
|--------------------------------------------------------------------------
Original file line number Diff line number Diff line change 14
14
15
15
require __DIR__ .'/../vendor/autoload.php ' ;
16
16
17
+ /*
18
+ |--------------------------------------------------------------------------
19
+ | Register The Laravel Auto Loader
20
+ |--------------------------------------------------------------------------
21
+ |
22
+ | We register an auto-loader "behind" the Composer loader that can load
23
+ | model classes on the fly, even if the autoload files have not been
24
+ | regenerated for the application. We'll add it to the stack here.
25
+ |
26
+ */
27
+
28
+ Illuminate \Support \ClassLoader::register ();
29
+
17
30
/*
18
31
|--------------------------------------------------------------------------
19
32
| Register The Workbench Loaders
You can’t perform that action at this time.
0 commit comments