From: Stéphane Jacob Date: Sat, 5 Nov 2011 23:37:28 +0000 (+0100) Subject: Better fix than 115ca093b7f7569e0066561add69ee7e44e0f9f7. X-Git-Tag: xorg/1.1.4~24 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=3796392e46bb793fcdbf6c67e4217f86355edcf0;p=platal.git Better fix than 115ca093b7f7569e0066561add69ee7e44e0f9f7. Signed-off-by: Stéphane Jacob --- diff --git a/modules/profile.php b/modules/profile.php index c79a123..940af80 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -358,7 +358,7 @@ class ProfileModule extends PLModule function handler_education_js($page) { - pl_cached_content_headers('text/javascript', 'utf-8', 3600); + pl_cached_dynamic_content_headers('text/javascript', 'utf-8'); $page->changeTpl('profile/education.js.tpl', NO_SKIN); require_once 'education.func.inc.php'; }