1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-17 22:28:46 +01:00

[ticket/16705] Fix check_disk_space function

Silent potential warnings

PHPBB3-16705
This commit is contained in:
3D-I 2021-03-05 08:00:55 +01:00
parent e4fc9bb0b1
commit 2ea22ee387

View File

@ -298,7 +298,7 @@ class upload
{
if (function_exists('disk_free_space'))
{
$free_space = disk_free_space($this->phpbb_root_path);
$free_space = @disk_free_space($this->phpbb_root_path);
if ($free_space <= $this->file->get('filesize'))
{