mirror of
https://github.com/Intervention/image.git
synced 2025-08-29 16:50:07 +02:00
Merge pull request #589 from websmurf/master
Fixed issue with lumen not picking up the app/config/image.php configuration file
This commit is contained in:
@@ -21,6 +21,9 @@ class ImageServiceProviderLumen extends ServiceProvider
|
||||
'image'
|
||||
);
|
||||
|
||||
// set configuration
|
||||
$app->configure('image');
|
||||
|
||||
// create image
|
||||
$app['image'] = $app->share(function ($app) {
|
||||
return new ImageManager($app['config']->get('image'));
|
||||
|
Reference in New Issue
Block a user