summaryrefslogtreecommitdiff
path: root/includes/file.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-22 17:43:17 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-22 17:43:17 +0000
commit23e253617dd5742573ad319d33f9f3a303c191e3 (patch)
treee5acc59faeb60eb7ef9c0d455c608b57f8a80113 /includes/file.inc
parent0047e35d9137a37235c0248daacaad70ed0105da (diff)
downloadbrdo-23e253617dd5742573ad319d33f9f3a303c191e3.tar.gz
brdo-23e253617dd5742573ad319d33f9f3a303c191e3.tar.bz2
- Patch #140412 by quicksketch: use drupal_set_header() instead of header().
Diffstat (limited to 'includes/file.inc')
-rw-r--r--includes/file.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 1673b75da..c033c7125 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -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);