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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user