Quote:
Originally Posted by gothicuser
Have a small problem. I have created a new download, but linked to a file held externally in a secure area. Consequently the URL begins with an 'https://' Well, for some reason this is misinterpreted by your mod, and modified to 'http://https:// which of course breaks the link.
Any ideas on how to fix this please?
|
Open downloads.php
Find
PHP Code:
if (strpos($newfilename, "http://") === false AND strpos($newfilename, "ftp://") === false)
Replace with
PHP Code:
if (strpos($newfilename, "http://") === false AND strpos($newfilename, "https://") === false AND strpos($newfilename, "ftp://") === false)