Fix another issue

Cette révision appartient à :
Sébastien Lucas 2014-02-12 04:20:31 +01:00
Parent 237a2ff39a
révision 01ba1a2342
1 fichiers modifiés avec 2 ajouts et 1 suppressions

Voir le fichier

@ -17,6 +17,8 @@ function notFound () {
$_SERVER['REDIRECT_STATUS'] = 404;
}
global $config;
if ($config ['cops_fetch_protect'] == "1") {
session_start();
if (!isset($_SESSION['connected'])) {
@ -25,7 +27,6 @@ function notFound () {
}
}
global $config;
$expires = 60*60*24*14;
header("Pragma: public");
header("Cache-Control: maxage=".$expires);