From e99838fbf488d9bca18f56e7ea6aee32d563ab68 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 24 Apr 2009 08:16:56 +0000 Subject: - Patch #147310 by c960657: added tests for private files, fixed a problem with private files and minor improvements. --- modules/system/system.api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/system') diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 58e8212c0..608879d5e 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -1249,8 +1249,8 @@ function hook_file_download($filepath) { return -1; } return array( - 'Content-Type: ' . $file->filemime, - 'Content-Length: ' . $file->filesize, + 'Content-Type' => $file->filemime, + 'Content-Length' => $file->filesize, ); } } -- cgit v1.2.3