mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 09:10:21 +02:00
filenames can now contain slashes - this allows the use of subdirectories to store images
This commit is contained in:
@@ -95,7 +95,7 @@ class ImageServiceProvider extends ServiceProvider
|
||||
'Etag' => md5($content)
|
||||
));
|
||||
|
||||
}))->where(array('template' => join('|', array_keys($config['templates'])), 'filename' => '^[\w.-]+$'));
|
||||
}))->where(array('template' => join('|', array_keys($config['templates'])), 'filename' => '^[\/\w.-]+$'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user