mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
[ticket/16955] Clean up storage and template classes
PHPBB3-16955
This commit is contained in:
@@ -278,7 +278,7 @@ class attachment extends controller
|
||||
$response->headers->set('Content-Disposition', $disposition);
|
||||
|
||||
// Set expires header for browser cache
|
||||
$time = new \Datetime();
|
||||
$time = new \DateTime();
|
||||
$response->setExpires($time->modify('+1 year'));
|
||||
|
||||
return parent::handle($attachment['physical_filename']);
|
||||
|
Reference in New Issue
Block a user