We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece75ae commit cb3859bCopy full SHA for cb3859b
src/Folklore/Image/ImageServiceProvider.php
@@ -35,11 +35,11 @@ public function boot()
35
//Get the full path of an image
36
$fullPath = $app->make('path.public').'/'.$path;
37
38
- // Serve the image response. If there is an file missing
39
- // exception, throw a 404.
+ // Serve the image response. If there is a file missing
+ // exception or parse exception, throw a 404.
40
try
41
{
42
- $response = $app['image']->serve($fullPath,array(
+ $response = $app['image']->serve($fullPath, array(
43
'write_image' => $app['config']['image::write_image'],
44
'custom_filters_only' => $app['config']['image::serve_custom_filters_only']
45
));
0 commit comments