1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-24 00:05:33 +02:00

[ticket/15305] Use streams in filespec

PHPBB3-15305
This commit is contained in:
Rubén Calvo 2017-08-09 12:29:22 +02:00
parent d89df35959
commit 55f3452e2d

View File

@ -447,7 +447,9 @@ class filespec_storage
try
{
$storage->put_contents($this->destination_file, file_get_contents($this->filename));
$fp = fopen($this->filename, 'rb');
$storage->write_stream($this->destination_file, $fp);
fclose($fp);
}
catch (\phpbb\storage\exception\exception $e)
{