1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-11 16:34:00 +02:00

Merge pull request #752 from daveblake/master

Allow parenthesis in Laravel5 filename when using imagecache
This commit is contained in:
Oliver Vogel
2017-07-03 12:53:01 +02:00
committed by GitHub

View File

@@ -77,7 +77,7 @@ class ImageServiceProviderLaravel5 extends ServiceProvider
// imagecache route // imagecache route
if (is_string(config('imagecache.route'))) { if (is_string(config('imagecache.route'))) {
$filename_pattern = '[ \w\\.\\/\\-\\@]+'; $filename_pattern = '[ \w\\.\\/\\-\\@\(\)]+';
// route to access template applied image file // route to access template applied image file
$app['router']->get(config('imagecache.route').'/{template}/{filename}', array( $app['router']->get(config('imagecache.route').'/{template}/{filename}', array(