From 8d71ae256c371663e3687086c07c4bd35c0d13da Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 31 Jan 2004 15:48:10 +0000 Subject: [PATCH] enable free disk space check git-svn-id: file:///svn/phpbb/trunk@4773 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 48816824a8..2ac76064fe 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -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;