mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-22 08:13:14 +02:00
[ticket/14285] Don't set cache-control by default
PHPBB3-14285
This commit is contained in:
@@ -96,6 +96,8 @@ class avatar extends controller
|
||||
*/
|
||||
protected function prepare($file)
|
||||
{
|
||||
$this->response->setPublic();
|
||||
|
||||
$disposition = $this->response->headers->makeDisposition(
|
||||
ResponseHeaderBag::DISPOSITION_INLINE,
|
||||
rawurlencode($file)
|
||||
|
Reference in New Issue
Block a user