Closed andheiberg closed 10 years ago
I'm sorry, but if you want to allow all types and sizes, why add the validator at all? It's optional.
Well I didn't know that you could choose not to have a validator.
However this would allow you to say new Validator(10000)
to just validate size or new Validator('*', ['image\jpg'])
. Any how the solution you suggested in the issue is better.
7