js_upload reporting 43k file too big

This commit is contained in:
Friendika 2011-08-13 16:05:03 -07:00
parent 88f94325a4
commit c9225a691b
2 changed files with 4 additions and 4 deletions

View file

@ -298,10 +298,10 @@ class qqFileUploader {
return array('error' => t('Uploaded file is empty'));
}
if ($size > $this->sizeLimit) {
// if ($size > $this->sizeLimit) {
return array('error' => t('Uploaded file is too large'));
}
// return array('error' => t('Uploaded file is too large'));
// }
$maximagesize = get_config('system','maximagesize');