diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2004-01-31 15:48:10 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-01-31 15:48:10 +0000 |
commit | 8d71ae256c371663e3687086c07c4bd35c0d13da (patch) | |
tree | ffedc92e0fb9d7e2a6872621bda78d643feaa9e1 /phpBB/includes/functions_posting.php | |
parent | c85f62bddc9eaa9467d22a30906a2ab69af9088c (diff) | |
download | forums-8d71ae256c371663e3687086c07c4bd35c0d13da.tar forums-8d71ae256c371663e3687086c07c4bd35c0d13da.tar.gz forums-8d71ae256c371663e3687086c07c4bd35c0d13da.tar.bz2 forums-8d71ae256c371663e3687086c07c4bd35c0d13da.tar.xz forums-8d71ae256c371663e3687086c07c4bd35c0d13da.zip |
enable free disk space check
git-svn-id: file:///svn/phpbb/trunk@4773 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 5 |
1 files changed, 1 insertions, 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; |