Add app.loadDiscoveredPackages config item
Refs: https://github.com/octobercms/library/pull/492
This commit is contained in:
parent
9c6c6b5a12
commit
0317ecec3c
|
|
@ -129,6 +129,26 @@ return [
|
||||||
'System\ServiceProvider',
|
'System\ServiceProvider',
|
||||||
]),
|
]),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Load automatically discovered packages
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| By default, October CMS disables the loading of discovered packages
|
||||||
|
| through Laravel's package discovery service, in order to allow packages
|
||||||
|
| used by plugins to be disabled if the plugin itself is disabled.
|
||||||
|
|
|
||||||
|
| Set this to `true` to enable automatic loading of these packages. This
|
||||||
|
| will result in packages being loaded, even if the plugin using them is
|
||||||
|
| disabled.
|
||||||
|
|
|
||||||
|
| Please note that packages defined in `app.providers` will still be loaded
|
||||||
|
| even if discovery is disabled.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'loadDiscoveredPackages' => false,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Class Aliases
|
| Class Aliases
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue