summaryrefslogtreecommitdiff
path: root/kohana/helpers/expires.php
diff options
context:
space:
mode:
Diffstat (limited to 'kohana/helpers/expires.php')
-rw-r--r--kohana/helpers/expires.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/kohana/helpers/expires.php b/kohana/helpers/expires.php
index 454cf12a..8d8ef0f8 100644
--- a/kohana/helpers/expires.php
+++ b/kohana/helpers/expires.php
@@ -88,7 +88,8 @@ class expires_Core {
{
foreach (headers_list() as $header)
{
- if (stripos($header, 'Last-Modified:') === 0 OR stripos($header, 'Expires:') === 0)
+ if ((session_cache_limiter() == '' AND stripos($header, 'Last-Modified:') === 0)
+ OR stripos($header, 'Expires:') === 0)
{
return FALSE;
}