2012-05-28, 09:26:55
Nox Wrote:Rob, this is a great plugin. Is it possible to open files (pdf) in browser directly (instead of downloading them)?
Sure -this is a small change. In dlfile.php change line 76 from:
Code:
header('Content-Disposition: attachment; filename="' . $getfile . '"');
to
Code:
header('Content-Disposition: inline; filename="' . $getfile . '"');
and all files will get served to the browser as inline files. Would this be the preferred behaviour?
-Rob A>