js_upload reporting 43k file too big
This commit is contained in:
parent
88f94325a4
commit
c9225a691b
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue
Block a user