Mercurial > hg > fapweb
diff index.php @ 5:76c3b89d7b11
Improve voting, clean up the code, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 05 Dec 2012 08:08:58 +0200 |
parents | 934ab7d8c244 |
children | 4c5f651aa107 |
line wrap: on
line diff
--- a/index.php Tue Dec 04 21:28:11 2012 +0200 +++ b/index.php Wed Dec 05 08:08:58 2012 +0200 @@ -12,11 +12,7 @@ if (isset($_SERVER["REQUEST_URI"]) && array_key_exists($_SERVER["REQUEST_URI"], $securePages)) -{ - header("Cache-Control: private"); - header("Cache-Control: must-revalidate"); - header("Cache-Control: ".($securePages[$_SERVER["REQUEST_URI"]] ? "no-store" : "no-cache")); -} + stSetupCacheControl(); printPageHeader($pageTitle, " <meta http-equiv=\"Pragma\" content=\"no-cache\" />");