diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-24 08:16:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-24 08:16:56 +0000 |
commit | e99838fbf488d9bca18f56e7ea6aee32d563ab68 (patch) | |
tree | dad6b05b6f1f47cedaec7341efcf9afed9f9b764 /modules/system | |
parent | addaf21247113e95fffa53b1642fa779a57fd99c (diff) | |
download | brdo-e99838fbf488d9bca18f56e7ea6aee32d563ab68.tar.gz brdo-e99838fbf488d9bca18f56e7ea6aee32d563ab68.tar.bz2 |
- Patch #147310 by c960657: added tests for private files, fixed a problem with private files and minor improvements.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.api.php | 4 |
1 files changed, 2 insertions, 2 deletions
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, ); } } |