mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
enable free disk space check
git-svn-id: file:///svn/phpbb/trunk@4773 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c85f62bddc
commit
8d71ae256c
@ -264,9 +264,7 @@ function upload_attachment($filename, $local = false, $local_storage = '')
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
// TODO
|
||||
// Check Free Disk Space - need testing under windows [commented out]
|
||||
// TODO - Check Free Disk Space - need testing under windows [commented out]
|
||||
if ($free_space = disk_free_space($config['upload_dir']))
|
||||
{
|
||||
if ($free_space <= $filedata['filesize'])
|
||||
@ -276,7 +274,6 @@ function upload_attachment($filename, $local = false, $local_storage = '')
|
||||
return $filedata;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
$filedata['thumbnail'] = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user