1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-07 14:20:37 +01: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:
Oliver Vogel 2017-01-10 15:15:56 +01:00 committed by GitHub
commit 2bce9a59c4

View File

@ -21,6 +21,9 @@ class ImageServiceProviderLumen extends ServiceProvider
'image' 'image'
); );
// set configuration
$app->configure('image');
// create image // create image
$app['image'] = $app->share(function ($app) { $app['image'] = $app->share(function ($app) {
return new ImageManager($app['config']->get('image')); return new ImageManager($app['config']->get('image'));