js_upload reporting 43k file too big
This commit is contained in:
parent
88f94325a4
commit
c9225a691b
2 changed files with 4 additions and 4 deletions
|
@ -298,10 +298,10 @@ class qqFileUploader {
|
||||||
return array('error' => t('Uploaded file is empty'));
|
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');
|
$maximagesize = get_config('system','maximagesize');
|
||||||
|
|
2
boot.php
2
boot.php
|
@ -7,7 +7,7 @@ require_once('include/text.php');
|
||||||
require_once("include/pgettext.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 ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1079 );
|
define ( 'DB_UPDATE_VERSION', 1079 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue