Open pdfs using browser from Files

1

Allow the links which download files to be able to view the files type pdf (or any other browser view able file types) in the browser, then download from there if need be? I see how wa-system/file/waFiles.class.php has a readFile function which you can change this line: $response->addHeader("Content-Disposition", "attachment; filename=\"{$send_as}\""); to $response->addHeader("Content-Disposition", "inline; filename=\"{$send_as}\""); and that appears to work on the Public Link to the file, but not the download button itself. Any direction as to the Download button's functionality would be great. Also maybe changing the word Download to Get File on the page itself might make more sense.

1 comment

Add comment

To add a comment please sign up or login