mirror of
https://github.com/Intervention/image.git
synced 2025-01-17 20:28:21 +01:00
fix
This commit is contained in:
parent
cd7c89c782
commit
606228bc76
@ -57,7 +57,7 @@ class ImageServiceProvider extends ServiceProvider
|
||||
// find file
|
||||
foreach ($config['paths'] as $path) {
|
||||
$image_path = $path.'/'.$filename;
|
||||
if (file_exists($image_path)) {
|
||||
if (file_exists($image_path) && is_file($image_path)) {
|
||||
break;
|
||||
} else {
|
||||
$image_path = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user