summaryrefslogtreecommitdiff
path: root/system/helpers
diff options
context:
space:
mode:
authorMike Mayer <mikemayer67@vmwishes.com>2012-10-18 22:32:49 -0700
committerMike Mayer <mikemayer67@vmwishes.com>2012-10-18 22:32:49 -0700
commit381bd0e569140ebc74eaf7971771d34a5a625f62 (patch)
tree6984f8c8fda3340f9726b62fe1779277566f21fc /system/helpers
parenteb32966d4bc670d89eac1ccf9f0e3be202b52ef1 (diff)
parent31681bf834d5dc560b9898d9c30903f08ecb1966 (diff)
Merge pull request #2 from gallery/master
Retrofit gallery/master into mikemayer67/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 = "";'));