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');

View file

@ -7,7 +7,7 @@ require_once('include/text.php');
require_once("include/pgettext.php");
define ( 'FRIENDIKA_VERSION', '2.2.1070' );
define ( 'FRIENDIKA_VERSION', '2.2.1071' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1079 );