orangemint Posted October 28, 2013 Share Posted October 28, 2013 Hi, I've had a look at the getfilecontroller.php but can't work out how to disable the forced download on virtual product files. e.g. If I upload a html file as a virtual product I want the html file to open in the web browser when clicked from the email not downloaded. Can someone point me in the right direction please? Link to comment Share on other sites More sharing options...
orangemint Posted October 28, 2013 Author Share Posted October 28, 2013 Ah, figured it out. Search for the line header('Content-Disposition: attachment; filename="'.$filename.'"'); and replace attachment with inline This way you can add a html files as a virtual download and the user will be redirected to the webpage when they click the download link effectively allowing you to sell access to a web page. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now