janhan

Home \

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Link to PDF-files results in corrupt downloads #1224
    janhan
    Participant

    Hi,

    had the same problem with corrupt pdf downloads and solved it this way.

    In the file “helper.php” I added the following two lines just above the “echo” statement.

    $thepath = parse_url($fullpath);

    $fullpath = ‘/home/MY_DOMAIN/public_html’.$thepath;

    You would of course have to use your real domain name instead of “MY_DOMAIN” and also modify the filepath as needed.

Viewing 1 post (of 1 total)