1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-27 20:10:18 +02: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'))
{