1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-12 08:54:03 +02:00

Merge pull request #127 from adamfeuer/allow-image-filenames-to-contain-slashes

filenames can now contain slashes - this allows the use of subdirectories to store images
This commit is contained in:
Oliver Vogel
2014-04-29 16:41:54 +02:00

View File

@@ -95,7 +95,7 @@ class ImageServiceProvider extends ServiceProvider
'Etag' => md5($content) 'Etag' => md5($content)
)); ));
}))->where(array('template' => join('|', array_keys($config['templates'])), 'filename' => '^[\w.-]+$')); }))->where(array('template' => join('|', array_keys($config['templates'])), 'filename' => '^[\/\w.-]+$'));
} }
} }
} }