mirror of
https://github.com/Intervention/image.git
synced 2025-08-29 00:29:55 +02:00
Merge pull request #452 from majorgilles/filename_extension
added support for @ in filename
This commit is contained in:
@@ -78,7 +78,7 @@ class ImageServiceProviderLaravel5 extends ServiceProvider
|
||||
// imagecache route
|
||||
if (is_string(config('imagecache.route'))) {
|
||||
|
||||
$filename_pattern = '[ \w\\.\\/\\-]+';
|
||||
$filename_pattern = '[ \w\\.\\/\\-\\@]+';
|
||||
|
||||
// route to access template applied image file
|
||||
$app['router']->get(config('imagecache.route').'/{template}/{filename}', array(
|
||||
|
Reference in New Issue
Block a user