Browse Source

Merge pull request #156 from jordandukart/6.x

ISLANDORA-311. Fix for IE download links.
pull/157/merge
Jonathan Green 12 years ago
parent
commit
e4a384f42a
  1. 3
      ObjectHelper.inc

3
ObjectHelper.inc

@ -182,7 +182,8 @@ class ObjectHelper {
//Set what headers we can...
if ($mimeType = $info['content_type']) {
drupal_set_header("Content-Type: $mimeType");
// Fixes an IE issue
drupal_set_header("Cache-Control: private", TRUE);
if ($asAttachment) {
$suggestedFileName = "$label";
$pos = strpos($suggestedFileName, '.');

Loading…
Cancel
Save