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:
parent
d89df35959
commit
55f3452e2d
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user