mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
detail related to the previous commit
This commit is contained in:
parent
e45fb13eac
commit
56c343f035
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user