1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 20:28:21 +01:00
This commit is contained in:
Oliver Vogel 2014-04-29 16:50:43 +02:00
parent cd7c89c782
commit 606228bc76

View File

@ -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;