Commit 23e25361 authored by Dries's avatar Dries

- Patch #140412 by quicksketch: use drupal_set_header() instead of header().

parent 0047e35d
......@@ -553,7 +553,7 @@ function file_transfer($source, $headers) {
// not followed by a space or a tab.
// See http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
$header = preg_replace('/\r?\n(?!\t| )/', '', $header);
header($header);
drupal_set_header($header);
}
$source = file_create_path($source);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment