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:
commit
2bce9a59c4
@ -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