Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Как разрешить добавлять несколько mimeTipes? #28

Closed
Kotesch opened this issue Jul 21, 2015 · 3 comments
Closed

Comments

@Kotesch
Copy link

Kotesch commented Jul 21, 2015

Писал так:
'mimeTypes' => ['image/jpg' , 'image/png'],

'mimeTypes' => 'image/jpg , image/png',

пишет что разрешено, но не грузит

Подскажи как правильно

@CTOlet
Copy link
Owner

CTOlet commented Jul 22, 2015

Только что проверил с 'mimeTypes' => ['image/png', 'image/jpeg'], все работает отлично. Как не грузит?

@Kotesch
Copy link
Author

Kotesch commented Aug 4, 2015

привет, решил проблему вот так:
'mimeTypes' =>
'image/png, '
.'image/jpeg, '
.'image/x-icon, ',

@CTOlet
Copy link
Owner

CTOlet commented Aug 4, 2015

Конкатенацией строк? А цельной строкой не работает?

@CTOlet CTOlet closed this as completed Aug 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants