1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 17:19:50 +02:00

filenames can now contain slashes - this allows the use of subdirectories to store images

This commit is contained in:
Adam Feuer
2014-04-28 20:22:02 -07:00
parent 83402d5e4f
commit d9806383a0

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.-]+$'));
} }
} }
} }