Browse Source

Merge pull request #264 from jordandukart/7.x

Flush the caches before we output so we don't overrun PHP memory limit.
pull/262/merge
Adam 12 years ago
parent
commit
ca5eb662e1
  1. 1
      includes/datastream.inc

1
includes/datastream.inc

@ -43,6 +43,7 @@ function islandora_view_datastream(FedoraDatastream $datastream, $download = FAL
}
drupal_page_is_cacheable(FALSE);
// Try not to load the file into PHP memory!
ob_end_flush();
$datastream->getContent('php://output');
exit();
}

Loading…
Cancel
Save