1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

detail related to the previous commit

This commit is contained in:
secretr 2011-01-15 21:02:43 +00:00
parent e45fb13eac
commit 56c343f035

View File

@ -310,7 +310,7 @@ if(!deftrue('e_NOCACHE') && $_SERVER['REQUEST_METHOD'] === 'GET')
{
date_default_timezone_set('UTC');
}
$time = time()+ 365 * 86400;
$time = time()+ (integer) e107::getPref('site_page_expires');
header('Expires: '.gmdate("D, d M Y H:i:s", $time).' GMT', true);
}
}