mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-27 17:49:27 +02:00
32 lines
673 B
PHP
32 lines
673 B
PHP
<?php
|
|
/**
|
|
*
|
|
* This file is part of the phpBB Forum Software package.
|
|
*
|
|
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
|
* @license GNU General Public License, version 2 (GPL-2.0)
|
|
*
|
|
* For full copyright and license information, please see
|
|
* the docs/CREDITS.txt file.
|
|
*
|
|
*/
|
|
|
|
namespace phpbb\storage;
|
|
|
|
use Symfony\Component\HttpFoundation\StreamedResponse;
|
|
|
|
// Temporal fix for: https://github.com/symfony/symfony/issues/27924
|
|
// Fixed 23/7/2018 in symfony v3.4.13
|
|
class streamed_response extends StreamedResponse
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function setNotModified()
|
|
{
|
|
$this->setCallback(function () {});
|
|
|
|
return parent::setNotModified();
|
|
}
|
|
}
|