mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
Merge pull request #3590 from rxu/ticket/13814
[ticket/13814] Prevent phpbb_is_writable() method from truncating files
This commit is contained in:
commit
6be8841a57
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ class filesystem implements filesystem_interface
|
|||
}
|
||||
else
|
||||
{
|
||||
$handle = @fopen($file, 'w');
|
||||
$handle = @fopen($file, 'c');
|
||||
|
||||
if (is_resource($handle))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue