|
@@ -74,8 +74,8 @@ |
|
|
block discarded – undo |
|
74
|
74
|
'captcha' |
|
75
|
75
|
); |
|
76
|
76
|
|
|
77
|
|
- // Bind the ImageManager with an explicit driver |
|
78
|
|
- if (!$this->app->bound('Intervention\Image\ImageManager')) { |
|
|
77
|
+ // Bind the ImageManager with an explicit driver |
|
|
78
|
+ if (!$this->app->bound('Intervention\Image\ImageManager')) { |
|
79
|
79
|
$this->app->singleton('Intervention\Image\ImageManager', function ($app) { |
|
80
|
80
|
// Determine which driver to use, defaulting to 'gd' |
|
81
|
81
|
$driver = config('captcha.driver', 'gd') === 'imagick' ? new ImagickDriver() : new GdDriver(); |
Please login to merge, or discard this patch.