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:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user