As you mentioned, this is the way the links are parsed in the final 2.2.6 release.
Quote:
Originally Posted by AndrewD
Code:
if (HEADER_BEHAVIOUR == "inline") {
@header("Content-disposition: inline; filename=".str_replace(" ", "_", $dfname)."");
} else {
@header("Content-type: application/x-download");
@header("Content-disposition: attachment; filename=".str_replace(" ", "_", $dfname)."");
}
|
This is still giving me problems in Firefox and users end up getting an html page if I have the hit-parade set to 0. My host does not add custom mime types, they are not known by the server and are defined on my .htaccess file. I have to keep the hit parade set to 1 for this to work since the location of the files is revealed, the browser picks up the correct mime-type from my .htacess file.
Is it possible to add them somehow into the mime-types in the local_links.php?