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

Allow parenthesis in Laravel5 filename when using imagecache

This commit is contained in:
Dave Blake
2017-07-03 11:09:53 +01:00
parent ef5d12c048
commit 75d2022f12

View File

@@ -77,7 +77,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(