summaryrefslogtreecommitdiff
path: root/system/helpers
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2012-08-17 16:49:30 +0000
committerNathan Kinkade <nath@nkinka.de>2012-08-17 16:49:30 +0000
commitb76a96ff97b73427e33bf6323cdc703a73612124 (patch)
treee4536c9ce60f38fd7bfa403a1882e5d1db9c9724 /system/helpers
parentc6047a18fe13df2fc5bae7f9b2c7c5df30446bc1 (diff)
parent4001c1088c51f53a57ddcaa9a56e94f000dd7cdb (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/expires.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/expires.php b/system/helpers/expires.php
index d510ba7c..a3e01b8e 100644
--- a/system/helpers/expires.php
+++ b/system/helpers/expires.php
@@ -31,7 +31,7 @@ class expires_Core {
header('Expires: '.gmdate('D, d M Y H:i:s T', $expires));
// HTTP 1.1
- header('Cache-Control: max-age='.$seconds);
+ header('Cache-Control: public,max-age='.$seconds);
return $expires;
}
@@ -94,7 +94,7 @@ class expires_Core {
header('Expires: '.gmdate('D, d M Y H:i:s T', $expires));
// HTTP 1.1
- header('Cache-Control: max-age='.$seconds);
+ header('Cache-Control: public,max-age='.$seconds);
// Clear any output
Event::add('system.display', create_function('', 'Kohana::$output = "";'));