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