diff --git a/config/app.php b/config/app.php index 6d6b8dee2..d0926ae7b 100644 --- a/config/app.php +++ b/config/app.php @@ -129,6 +129,26 @@ return [ '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