1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-18 15:41:26 +02:00

Merge pull request #3590 from rxu/ticket/13814

[ticket/13814] Prevent phpbb_is_writable() method from truncating files
This commit is contained in:
Tristan Darricau
2015-05-04 14:39:36 +02:00

View File

@@ -613,7 +613,7 @@ class filesystem implements filesystem_interface
}
else
{
$handle = @fopen($file, 'w');
$handle = @fopen($file, 'c');
if (is_resource($handle))
{