Merge pull request #1 from HungryFeline/patch-2

Update main.php
This commit is contained in:
HungryFeline 2013-07-07 00:17:30 -07:00
commit 33712ee5c2

View File

@ -56,9 +56,7 @@ class Upload extends Extension {
$this->is_full = false;
}
else {
// TODO: This size limit should be configureable by the admin...
// currently set to 100 MB
$this->is_full = $free_num < 100*1024*1024;
$this->is_full = $free_num < MIN_FREE_SPACE;
}
}