1
0
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:
Adam van Dongen 2016-07-28 10:47:49 +02:00
parent 6886d43f5b
commit d4b71ad481

View File

@ -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'));