forked from Cavemanon/cavepaintings
Update main.php
This commit is contained in:
@ -56,9 +56,7 @@ class Upload extends Extension {
|
|||||||
$this->is_full = false;
|
$this->is_full = false;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// TODO: This size limit should be configureable by the admin...
|
$this->is_full = $free_num < MIN_FREE_SPACE;
|
||||||
// currently set to 100 MB
|
|
||||||
$this->is_full = $free_num < 100*1024*1024;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user