Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
7d2da906
Commit
7d2da906
authored
Aug 24, 2009
by
webchick
Browse files
#303419
follow-up by drewish: Fix typo.
parent
542d69fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/image/image.module
View file @
7d2da906
...
@@ -207,7 +207,7 @@ function image_file_download($filepath) {
...
@@ -207,7 +207,7 @@ function image_file_download($filepath) {
'Content-Type'
=>
$info
[
'mime_type'
],
'Content-Type'
=>
$info
[
'mime_type'
],
'Content-Length'
=>
$info
[
'file_size'
],
'Content-Length'
=>
$info
[
'file_size'
],
// ...and allow the file to be cached for two weeks (matching the
// ...and allow the file to be cached for two weeks (matching the
// value we use for the mod_expires settings in .htaccess) and
// value we
/
use for the mod_expires settings in .htaccess) and
// ensure that caching proxies do not share the image with other
// ensure that caching proxies do not share the image with other
// users.
// users.
'Expires'
=>
gmdate
(
DATE_RFC1123
,
time
()
+
1209600
),
'Expires'
=>
gmdate
(
DATE_RFC1123
,
time
()
+
1209600
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment