Fix another issue

This commit is contained in:
Sébastien Lucas 2014-02-12 04:20:31 +01:00
부모 237a2ff39a
커밋 01ba1a2342
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -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);