mirror of
https://github.com/Intervention/image.git
synced 2025-02-07 14:20:37 +01:00
fix for not picking up configuration on lumen
This commit is contained in:
parent
6886d43f5b
commit
d4b71ad481
@ -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'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user