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:
parent
e4fc9bb0b1
commit
2ea22ee387
@ -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'))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user