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/user | |
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/user')
-rw-r--r-- | modules/user/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 7661c37e3..db8977921 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -814,7 +814,7 @@ function user_perm() { function user_file_download($filepath) { if (strpos($filepath, variable_get('user_picture_path', 'pictures') . '/picture-') === 0) { $info = image_get_info(file_create_path($filepath)); - return array('Content-type: ' . $info['mime_type']); + return array('Content-Type' => $info['mime_type']); } } |