From 56c343f035833a5553c4c1e6a2d76dd285a92e31 Mon Sep 17 00:00:00 2001 From: secretr Date: Sat, 15 Jan 2011 21:02:43 +0000 Subject: [PATCH] detail related to the previous commit --- e107_themes/templates/footer_default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_themes/templates/footer_default.php b/e107_themes/templates/footer_default.php index 0bb85ae4b..54eee1c77 100644 --- a/e107_themes/templates/footer_default.php +++ b/e107_themes/templates/footer_default.php @@ -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); } }