Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Add in a setting that if the xsend module is enabled then add in this header X-Sendfile:
header('X-Sendfile: '. realpath(file_create_path($filepath)));
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedNo one wanted this. Closing out.