mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-05 16:04:33 +02:00
Allow to restrict the file extensions for a attachment type.
This commit is contained in:
parent
2187f5eac2
commit
fdfb099cb5
25 changed files with 714 additions and 4 deletions
|
@ -38,6 +38,7 @@ use Symfony\Component\Validator\Constraints\Url;
|
|||
/**
|
||||
* Constraints the field that way that the content is either a url or a path to a builtin ressource (like %FOOTPRINTS%)
|
||||
* @package App\Validator\Constraints
|
||||
* @Annotation
|
||||
*/
|
||||
class UrlOrBuiltin extends Url
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue