1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-01 03:20:17 +02: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 // 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;