- Posts: 1
- Thank you received: 0
Any questions about Documents Sellers, post it here .
Wrong Mimetype?
- HAROLD WILLIAMS
- Topic Author
- Offline
- New Member
Less
More
11 years 10 months ago #24478
by HAROLD WILLIAMS
Wrong Mimetype? was created by HAROLD WILLIAMS
Hi,
When uploading files using Document Seller I noticed the iTunes m4a files had a mimetype of application/octet-stream. It should have been audio/x-m4a.
Regards.
Harold
When uploading files using Document Seller I noticed the iTunes m4a files had a mimetype of application/octet-stream. It should have been audio/x-m4a.
Regards.
Harold
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
11 years 10 months ago #24708
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Wrong Mimetype?
Hi Harold
You can edit code alitle to make it have the correct mime type. The steps are :
1. Open the file administrator/components/com_dms/class/mime.mapping.php
2. Add a new element to the array (hope you know php alitle)
After that, it should work as expected.
Tuan
You can edit code alitle to make it have the correct mime type. The steps are :
1. Open the file administrator/components/com_dms/class/mime.mapping.php
2. Add a new element to the array (hope you know php alitle)
Code:
'm4a' => 'audio/x-m4a'
After that, it should work as expected.
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.