Add documentation

This commit is contained in:
Molkobain
2021-08-11 10:12:02 +02:00
parent cd1ba097cb
commit c475e66176
4 changed files with 28 additions and 6 deletions

View File

@@ -1083,7 +1083,7 @@ class ObjectController extends BrickController
// Reset the value set previously
$aHeaders['Pragma'] = 'cache';
// Fix bug in Symphony 3x in Response::sendHeaders() : don't replace header of page except Content-Type
// N°3423 Fix bug in Symphony 3.x in Response::sendHeaders(): Headers need to send directly as SF doesn't replace header of page except for Content-Type
header('Cache-Control: no-transform, public,max-age='.$iCacheSec.',s-maxage='.$iCacheSec);
header('Pragma: cache');
header('Expires: ');