1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/16641] Fix config.php validation in ACP - PHP 8

PHPBB3-16641
This commit is contained in:
3D-I
2020-11-26 23:44:15 +01:00
parent c0511d54fd
commit cd42c0e306
2 changed files with 9 additions and 2 deletions

View File

@@ -613,8 +613,11 @@ class filesystem implements filesystem_interface
}
else
{
if (is_writable($file))
$handle = @fopen($file, 'c');
if (is_resource($handle))
{
fclose($handle);
return true;
}
}