Hi all,
We have the requirement to allow people to upload .kml files to the attachments area.
unfortunately, these currently get the extension .txt added to them.
We tried to add the allowed mime type to the upload class, and mime types files, but to no avail.
Files: administrator > components > com_k2 > lib > class.upload.php : line 2317
after $this->allowed = array(
added 'application/vnd.google-earth.kml+xml',
then under $this->mime_types = array(
added: 'kml' => 'application/vnd.google-earth.kml+xml',
Do these need to be added to
Files: administrator > components > com_k2 > lib > elfinder :
mime.types & elFinderVolumeDriver.class.php
Anyone who can solve this is a legend and it's greatly appreciated.